mirror of
https://github.com/oceanprotocol/ens-proxy.git
synced 2024-12-02 05:57:34 +01:00
34 lines
949 B
Plaintext
34 lines
949 B
Plaintext
|
{
|
||
|
"parser": "@babel/eslint-parser",
|
||
|
"extends": ["eslint:recommended", "prettier"],
|
||
|
"env": { "es6": true, "browser": true, "node": true, "jest": true },
|
||
|
"settings": {
|
||
|
"react": {
|
||
|
"version": "detect"
|
||
|
}
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": ["**/*.ts", "**/*.test.ts", "**/*.tsx"],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"project": ["./tsconfig.json"]
|
||
|
},
|
||
|
"extends": [
|
||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|