mirror of
https://github.com/oceanprotocol/ens-proxy.git
synced 2024-11-15 01:35:14 +01:00
33 lines
913 B
Plaintext
33 lines
913 B
Plaintext
|
{
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|