mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
ESLint config updates
This commit is contained in:
parent
88663d812a
commit
306ff5833a
14
.eslintrc
14
.eslintrc
@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"parser": "babel-eslint",
|
|
||||||
"extends": ["eslint:recommended", "prettier"],
|
"extends": ["eslint:recommended", "prettier"],
|
||||||
"env": { "es6": true, "browser": true, "node": true, "jest": true },
|
"parserOptions": {
|
||||||
|
"sourceType": "module",
|
||||||
|
"ecmaFeatures": { "jsx": true }
|
||||||
|
},
|
||||||
|
"env": { "browser": true, "node": true, "es2020": true, "jest": true },
|
||||||
"settings": {
|
"settings": {
|
||||||
"react": {
|
"react": { "version": "detect" }
|
||||||
"version": "detect"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
@ -20,9 +21,6 @@
|
|||||||
"plugin:@typescript-eslint/eslint-recommended",
|
"plugin:@typescript-eslint/eslint-recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
"plugin:prettier/recommended",
|
"plugin:prettier/recommended",
|
||||||
"prettier/react",
|
|
||||||
"prettier/standard",
|
|
||||||
"prettier/@typescript-eslint",
|
|
||||||
"plugin:react-hooks/recommended"
|
"plugin:react-hooks/recommended"
|
||||||
],
|
],
|
||||||
"plugins": ["@typescript-eslint", "prettier"],
|
"plugins": ["@typescript-eslint", "prettier"],
|
||||||
|
Loading…
Reference in New Issue
Block a user