Skip to content

Commit

Permalink
Disable warnings for new Function
Browse files Browse the repository at this point in the history
Also add precommit hooks for eslint
  • Loading branch information
c-harding committed Jun 24, 2019
1 parent 2645317 commit 1a890e6
Show file tree
Hide file tree
Showing 3 changed files with 342 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"no-cond-assign": ["error", "except-parens"],
"no-param-reassign": ["error", { "props": false }],
"no-continue": "off"
"no-continue": "off",
"no-new-func": "off"
}
}
Loading

0 comments on commit 1a890e6

Please sign in to comment.