Skip to content

Commit

Permalink
Remove `new-parens' from ESLint config rules
Browse files Browse the repository at this point in the history
Sometimes it's nicer to omit the extra brackets when you're constructing
an something like `const thing = new (require("../lib/long-name/etc"));`
  • Loading branch information
Alhadis committed Aug 3, 2018
1 parent 4b48353 commit b0f3375
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"error",
"unix"
],
"new-parens": "error",
"no-fallthrough": [
"error",
{"commentPattern": "[Ff]alls?[-\\s]?through"}
Expand Down

0 comments on commit b0f3375

Please sign in to comment.