-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
6,535 additions
and
10,273 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -102,7 +102,6 @@ ENV/ | |
|
||
# Spyder project settings | ||
.spyderproject | ||
.vscode | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,38 @@ | ||
module.exports = { | ||
root: true, | ||
env: { browser: true, es2020: true }, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:react-hooks/recommended", | ||
"prettier", | ||
"plugin:cypress/recommended", | ||
], | ||
plugins: ["@typescript-eslint", "prettier"], | ||
ignorePatterns: ["dist", ".eslintrc"], | ||
parser: "@typescript-eslint/parser", | ||
rules: { | ||
"react-refresh/only-export-components": [ | ||
"warn", | ||
{ allowConstantExport: true }, | ||
], | ||
indent: "off", | ||
"prettier/prettier": 4, | ||
import tsParser from '@typescript-eslint/parser'; | ||
import eslint from '@eslint/js'; | ||
import teslint from 'typescript-eslint'; | ||
import eslintHooks from 'eslint-plugin-react-hooks'; | ||
import eslintCypress from 'eslint-plugin-cypress/flat'; | ||
import eslintPrettier from 'eslint-plugin-prettier/recommended'; | ||
import globals from 'globals'; | ||
import eslintReactRefresh from 'eslint-plugin-react-refresh'; | ||
|
||
export default [ | ||
eslint.configs.recommended, | ||
...teslint.configs.recommended, | ||
eslintCypress.configs.recommended, | ||
eslintPrettier, | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
}, | ||
parser: tsParser, | ||
parserOptions: { | ||
ecmaFeatures: { | ||
modules: true, | ||
}, | ||
ecmaVersion: 2020, | ||
project: './tsconfig.json', | ||
}, | ||
}, | ||
plugins: { | ||
'react-hooks': eslintHooks, | ||
'react-refresh': eslintReactRefresh, | ||
}, | ||
rules: { | ||
...eslintHooks.configs.recommended.rules, | ||
'react-refresh/only-export-components': 'warn', | ||
}, | ||
}, | ||
}; | ||
]; |
Oops, something went wrong.