first commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
},
|
||||
"extends": ["plugin:react/recommended", "airbnb"],
|
||||
"globals": {
|
||||
"Atomics": "readonly",
|
||||
"SharedArrayBuffer": "readonly"
|
||||
},
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaFeatures": {
|
||||
"jsx": true
|
||||
},
|
||||
"ecmaVersion": 12,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": ["react", "@typescript-eslint", "import"],
|
||||
"rules": {
|
||||
"no-shadow": "off",
|
||||
"no-useless-constructor": "off",
|
||||
"no-use-before-define": [0],
|
||||
"@typescript-eslint/no-use-before-define": [1],
|
||||
"no-unused-vars": 2, //Keep this as the files in this folder don't use TypeScript.
|
||||
"@typescript-eslint/no-unused-vars": "error",
|
||||
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".jsx"] }],
|
||||
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
|
||||
"max-len": "off",
|
||||
"import/extensions": [
|
||||
"error",
|
||||
"ignorePackages",
|
||||
{
|
||||
"js": "never",
|
||||
"jsx": "never",
|
||||
"ts": "never",
|
||||
"tsx": "never"
|
||||
}
|
||||
],
|
||||
"jsx-a11y/anchor-is-valid": 0,
|
||||
"jsx-a11y/label-has-associated-control": "off",
|
||||
"indent": "off",
|
||||
"no-case-declarations": "off",
|
||||
"no-restricted-globals": "off",
|
||||
"implicit-arrow-linebreak": "off",
|
||||
"import/no-webpack-loader-syntax": "off",
|
||||
"linebreak-style": "off",
|
||||
"import/no-unresolved": "off"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user