2020-05-07 08:03:30 +02:00
|
|
|
{
|
2020-06-30 11:28:49 +02:00
|
|
|
"parser": "babel-eslint",
|
2020-05-07 08:03:30 +02:00
|
|
|
"extends": ["eslint:recommended", "prettier"],
|
2020-06-30 11:28:49 +02:00
|
|
|
"env": { "es6": true, "browser": true, "node": true, "jest": true },
|
2020-05-07 08:03:30 +02:00
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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",
|
2020-06-30 12:56:50 +02:00
|
|
|
"react/no-unused-prop-types": "off",
|
2020-05-07 08:03:30 +02:00
|
|
|
"@typescript-eslint/explicit-function-return-type": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|