Skip to content

Commit

Permalink
install prettier for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
kira-m committed Sep 29, 2023
1 parent 4f2b121 commit 92c2083
Show file tree
Hide file tree
Showing 3 changed files with 656 additions and 24 deletions.
24 changes: 14 additions & 10 deletions app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
module.exports = {
"env": {
"node": true,
"es2021": true
env: {
node: true,
es2021: true,
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "prettier"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
rules: {
'no-console': 'warn',
'@typescript-eslint/no-explicit-any' : 'warn',
}
}
"no-console": "warn",
"@typescript-eslint/no-explicit-any": "warn",
},
};
Loading

0 comments on commit 92c2083

Please sign in to comment.