mirror of
https://github.com/oceanprotocol/ens-proxy.git
synced 2024-12-02 05:57:34 +01:00
Updating eslintrc
This commit is contained in:
parent
0bcb74e464
commit
ca7ea96dfa
42
.eslintrc
42
.eslintrc
@ -1,32 +1,16 @@
|
|||||||
{
|
{
|
||||||
"extends": ["eslint:recommended", "prettier"],
|
"parser": "@typescript-eslint/parser",
|
||||||
"env": { "es6": true, "browser": true, "node": true, "jest": true },
|
"parserOptions": {
|
||||||
"settings": {
|
"project": ["./tsconfig.json"]
|
||||||
"react": {
|
|
||||||
"version": "detect"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"overrides": [
|
"extends": [
|
||||||
{
|
"plugin:@typescript-eslint/eslint-recommended",
|
||||||
"files": ["**/*.ts", "**/*.test.ts", "**/*.tsx"],
|
"plugin:@typescript-eslint/recommended",
|
||||||
"parser": "@typescript-eslint/parser",
|
"plugin:prettier/recommended"
|
||||||
"parserOptions": {
|
],
|
||||||
"project": ["./tsconfig.json"]
|
"plugins": ["@typescript-eslint", "prettier"],
|
||||||
},
|
"rules": {
|
||||||
"extends": [
|
"@typescript-eslint/explicit-function-return-type": "off"
|
||||||
"plugin:@typescript-eslint/eslint-recommended",
|
},
|
||||||
"plugin:@typescript-eslint/recommended",
|
"env": { "es6": true, "node": true }
|
||||||
"plugin:prettier/recommended",
|
|
||||||
"prettier"
|
|
||||||
],
|
|
||||||
"plugins": ["@typescript-eslint", "prettier"],
|
|
||||||
"rules": {
|
|
||||||
"react/prop-types": "off",
|
|
||||||
"react/no-unused-prop-types": "off",
|
|
||||||
"@typescript-eslint/explicit-function-return-type": "off",
|
|
||||||
"no-use-before-define": "off",
|
|
||||||
"@typescript-eslint/no-use-before-define": "error"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user