Skip to content

Commit

Permalink
chore: Update dependencies and eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Vautier committed Apr 19, 2024
1 parent 116aa6a commit cdb5e5e
Show file tree
Hide file tree
Showing 5 changed files with 2,160 additions and 2,028 deletions.
25 changes: 0 additions & 25 deletions .eslintrc.yml

This file was deleted.

25 changes: 25 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const js = require("@eslint/js");
const jest = require("eslint-plugin-jest");
const globals = require("globals");

module.exports = [
{
languageOptions: {
globals: globals.node
}
},
js.configs.recommended,
{
files: ["test/**"],
...jest.configs["flat/recommended"],
rules: jest.configs["flat/recommended"].rules,
},
{
rules: {
indent: ["error", "tab"],
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: "error"
}
}
];
Loading

0 comments on commit cdb5e5e

Please sign in to comment.