Skip to content

Commit

Permalink
⬆️ upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
MatissJanis committed Dec 10, 2024
1 parent 79b1b5d commit bb7c5c2
Show file tree
Hide file tree
Showing 5 changed files with 262 additions and 181 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .eslintrc.json

This file was deleted.

26 changes: 26 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import prettier from 'eslint-plugin-prettier';

export default [
{
ignores: [
'**/.git/',
'**/.serverless/',
'**/node_modules/',
'**/coverage/',
],
},
{
plugins: {
prettier,
},

languageOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},

rules: {
'prettier/prettier': 'error',
},
},
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"babel-jest": "^27.4.5",
"babel-loader": "^8.0.4",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^8.56.0",
"eslint": "^9.16.0",
"eslint-plugin-prettier": "^5.1.3",
"graphql-tag": "^2.10.0",
"husky": "^8.0.1",
Expand Down
Loading

0 comments on commit bb7c5c2

Please sign in to comment.