2020-04-25 02:27:45 +02:00
|
|
|
{
|
|
|
|
"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",
|
2020-09-16 09:51:13 +02:00
|
|
|
"prettier/@typescript-eslint",
|
|
|
|
"plugin:react-hooks/recommended"
|
2020-04-25 02:27:45 +02:00
|
|
|
],
|
|
|
|
"plugins": ["@typescript-eslint", "prettier"],
|
2020-09-15 21:57:44 +02:00
|
|
|
"rules": {
|
|
|
|
"no-use-before-define": "off",
|
|
|
|
"@typescript-eslint/no-use-before-define": "error"
|
|
|
|
},
|
2020-04-25 02:27:45 +02:00
|
|
|
"env": { "es6": true, "node": true },
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|