Skip to content

Commit

Permalink
config: Disallow throwing literals
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnault committed Sep 29, 2021
1 parent ff772fb commit 11448c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
es6: true,
},
rules: {
"no-throw-literal": "error",
"no-return-await": "error",
"no-use-before-define": "off", // uses "@typescript-eslint/no-use-before-define" instead
"max-params": ["error", 4],
Expand Down

0 comments on commit 11448c4

Please sign in to comment.