Skip to content

Commit 11448c4

Browse files
committed
config: Disallow throwing literals
1 parent ff772fb commit 11448c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
es6: true,
1111
},
1212
rules: {
13+
"no-throw-literal": "error",
1314
"no-return-await": "error",
1415
"no-use-before-define": "off", // uses "@typescript-eslint/no-use-before-define" instead
1516
"max-params": ["error", 4],

0 commit comments

Comments
 (0)