update ESLint config
* breaking eslint-config-prettier config merge, see https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
This commit is contained in:
parent
6ac8837d6e
commit
a8a8b8fe41
20
.eslintrc
20
.eslintrc
|
@ -11,23 +11,23 @@
|
|||
"./test/integration/tsconfig.json"
|
||||
]
|
||||
},
|
||||
"extends": [
|
||||
"oceanprotocol",
|
||||
"prettier/standard",
|
||||
"plugin:prettier/recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"prettier/@typescript-eslint"
|
||||
],
|
||||
"plugins": ["@typescript-eslint", "prettier"],
|
||||
"extends": ["oceanprotocol", "plugin:prettier/recommended"],
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"rules": {
|
||||
"no-empty": ["error", { "allowEmptyCatch": true }],
|
||||
"prefer-destructuring": ["warn", { "object": true, "array": false }],
|
||||
"no-dupe-class-members": ["warn"],
|
||||
"no-useless-constructor": ["warn"]
|
||||
"no-useless-constructor": ["warn"],
|
||||
"no-unused-vars": ["warn"],
|
||||
"constructor-super": ["warn"]
|
||||
},
|
||||
"env": {
|
||||
"es6": true,
|
||||
"browser": true,
|
||||
"mocha": true
|
||||
"mocha": true,
|
||||
"node": true
|
||||
},
|
||||
"globals": {
|
||||
"NodeJS": true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue