forked from oceanprotocol/ocean.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 792 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": false
},
"project": [
"./tsconfig.json",
"./test/unit/tsconfig.json",
"./test/integration/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
}
}