Skip to content

Commit

Permalink
fix: improve .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
masb0ymas committed Jul 24, 2023
1 parent 7be1f81 commit 72cd389
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 1,9 @@
module.exports = {
extends: ['standard-with-typescript', 'plugin:prettier/recommended'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
plugins: ['prettier', '@typescript-eslint'],
parser: '@typescript-eslint/parser',
parserOptions: {
Expand All @@ -17,12 21,15 @@ module.exports = {
'func-names': 'off',
'no-console': 'off',
'consistent-return': 'off',
'no-unused-vars': ['error', { args: 'none' }],
'no-unused-vars': 'off',
'no-underscore-dangle': 'off',
'no-useless-constructor': 'off',
'import/prefer-default-export': 'off',
'import/no-unresolved': 'off',
'import/extensions': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/no-useless-constructor': 'error',
Expand Down

0 comments on commit 72cd389

Please sign in to comment.