mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
33 lines
746 B
Plaintext
33 lines
746 B
Plaintext
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": false
|
|
},
|
|
"project": [
|
|
"./tsconfig.json",
|
|
"./test/tsconfig.json",
|
|
]
|
|
},
|
|
"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-unused-vars": ["warn"],
|
|
"constructor-super": ["warn"]
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"mocha": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"NodeJS": true
|
|
}
|
|
}
|