-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- updated npm dependencies - migrated to eslint 9
- Loading branch information
1 parent
c98ab10
commit 68e1b03
Showing
5 changed files
with
128 additions
and
90 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18.16.0 | ||
v22.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import globals from 'globals' | ||
import react from 'eslint-plugin-react' | ||
import prettier from 'eslint-plugin-prettier' | ||
import typescriptEslint from '@typescript-eslint/eslint-plugin' | ||
import { fixupPluginRules } from '@eslint/compat' | ||
import tsParser from '@typescript-eslint/parser' | ||
|
||
export default [ | ||
{ | ||
ignores: ['**/node_modules', '**/dist', '**/webpack'] | ||
}, | ||
{ | ||
files: ['*.ts', '*.tsx'], | ||
plugins: { | ||
prettier, | ||
'@typescript-eslint': typescriptEslint, | ||
react: fixupPluginRules(react) | ||
}, | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.jest | ||
}, | ||
parser: tsParser, | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true | ||
} | ||
} | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect' | ||
} | ||
} | ||
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters