mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-13 16:54:53 +01:00
36 lines
956 B
Plaintext
36 lines
956 B
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"extends": ["eslint:recommended", "prettier"],
|
|
"env": { "es6": true, "browser": true, "node": true, "jest": true },
|
|
"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",
|
|
"react/no-unused-prop-types": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|