mirror of
https://github.com/oceanprotocol/react.git
synced 2024-11-25 11:28:46 +01:00
29 lines
689 B
Plaintext
29 lines
689 B
Plaintext
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": ["./tsconfig.json"]
|
|
},
|
|
"extends": [
|
|
"oceanprotocol",
|
|
"oceanprotocol/react",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended",
|
|
"prettier/react",
|
|
"prettier/standard",
|
|
"prettier/@typescript-eslint",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"plugins": ["@typescript-eslint", "prettier"],
|
|
"rules": {
|
|
"no-use-before-define": "off",
|
|
"@typescript-eslint/no-use-before-define": "error"
|
|
},
|
|
"env": { "es6": true, "node": true },
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|