2019-10-17 00:13:54 +02:00
|
|
|
{
|
2019-10-21 11:52:51 +02:00
|
|
|
"extends": ["eslint:recommended", "prettier"],
|
|
|
|
"env": { "es6": true, "browser": true, "node": true },
|
2019-10-17 00:13:54 +02:00
|
|
|
"settings": {
|
|
|
|
"react": {
|
2019-10-17 12:35:28 +02:00
|
|
|
"version": "detect"
|
2019-10-17 00:13:54 +02:00
|
|
|
}
|
2019-10-21 11:52:51 +02:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": ["**/*.ts", "**/*.tsx"],
|
|
|
|
"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"
|
|
|
|
],
|
|
|
|
"plugins": ["@typescript-eslint", "prettier"],
|
|
|
|
"rules": {
|
|
|
|
"react/prop-types": "off",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2019-10-17 00:13:54 +02:00
|
|
|
}
|