-
Notifications
You must be signed in to change notification settings - Fork 0
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 v9 (`npx @eslint/migrate-config .eslintrc`)
- Loading branch information
1 parent
dcfc4d7
commit 8635663
Showing
5 changed files
with
604 additions
and
529 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import globals from 'globals' | ||
import tsParser from '@typescript-eslint/parser' | ||
import typescriptEslint from '@typescript-eslint/eslint-plugin' | ||
import prettier from 'eslint-plugin-prettier' | ||
import react from 'eslint-plugin-react' | ||
|
||
export default [ | ||
{ | ||
ignores: ['**/dist', '**/node_modules'] | ||
}, | ||
{ | ||
files: ['*.ts', '*.tsx'], | ||
plugins: { | ||
'@typescript-eslint': typescriptEslint, | ||
prettier, | ||
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
Oops, something went wrong.