Skip to content

Commit

Permalink
update ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Feb 23, 2021
1 parent 6b8c255 commit f7cba2b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit f7cba2b

Please sign in to comment.