Skip to content

Commit

Permalink
Merge pull request #274 from wakatime/fix-npm-install-and-update-eslint
Browse files Browse the repository at this point in the history
fix eslint and update eslint to 8.0.0
  • Loading branch information
alanhamlett authored Aug 31, 2024
2 parents a87b17e + fd94e53 commit 1688d6b
Show file tree
Hide file tree
Showing 28 changed files with 5,808 additions and 3,799 deletions.
14 changes: 8 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ module.exports = {
},
extends: [
'eslint:recommended',
'kentcdodds/best-practices',
'kentcdodds/es6/possible-errors',
// 'kentcdodds/best-practices',
// 'kentcdodds/es6/possible-errors',
'kentcdodds',
// 'kentcdodds/react',
'kentcdodds/import',
'kentcdodds/jest',
'kentcdodds/possible-errors',
// 'kentcdodds/possible-errors',
// 'plugin:@typescript-eslint/recommended',
'plugin:jest-dom/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/errors',
'plugin:import/typescript',
'plugin:prettier/recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
// 'plugin:react/jsx-runtime',
'plugin:typescript-sort-keys/recommended',
'plugin:react-hooks/recommended',
],
Expand All @@ -36,7 +38,7 @@ module.exports = {
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
},
plugins: ['react', '@typescript-eslint', 'typescript-sort-keys', 'sort-keys-fix'],
plugins: ['react', 'typescript-sort-keys', 'sort-keys-fix'],
rules: {
'no-await-in-loop': 'off',
'prettier/prettier': 'error',
Expand Down
Loading

0 comments on commit 1688d6b

Please sign in to comment.