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:
Matthias Kretschmann 2021-02-23 16:29:07 +01:00
parent 6ac8837d6e
commit a8a8b8fe41
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 10 additions and 10 deletions

View File

@ -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
}
}