Skip to content

Commit

Permalink
Merge pull request #33 from seart-group/dependabot/npm_and_yarn/maste…
Browse files Browse the repository at this point in the history
…r/eslint-9.0.0

Bump eslint from 8.57.0 to 9.0.0
  • Loading branch information
seart-bot authored Apr 8, 2024
2 parents d5abfef + 7bd09b9 commit 3599a82
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 250 deletions.
40 changes: 0 additions & 40 deletions .eslintrc.json

This file was deleted.

34 changes: 34 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import js from "@eslint/js";
import globals from "globals";

export default [
js.configs.recommended,
{
files: [
"**/*.js",
"**/*.ts",
"**/*.cjs",
"**/*.mjs",
],
languageOptions: {
sourceType: "module",
ecmaVersion: 2024,
globals: {
...globals.node,
...globals.es2021,
...globals.browser,
}
},
rules: {
"semi": ["error", "always"],
"indent": ["error", 4],
"quotes": ["error", "double"],
"linebreak-style": ["error", "unix"],
"no-unused-vars": ["error" , {
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
}],
}
},
];
Loading

0 comments on commit 3599a82

Please sign in to comment.