Commit 67676f2d authored by Robert Knight's avatar Robert Knight

Prevent var usage before definition

This will aid migration to let/const in future
parent e18c9733
...@@ -12,10 +12,15 @@ ...@@ -12,10 +12,15 @@
}, },
"rules": { "rules": {
"block-scoped-var": "error", "block-scoped-var": "error",
"eqeqeq": "error",
"no-console": [ "no-console": [
"error", "error",
{ allow: ["warn", "error"] }, { allow: ["warn", "error"] },
], ],
"no-use-before-define": [
"error",
{"functions": false},
],
"strict": ["error", "safe"], "strict": ["error", "safe"],
}, },
"parserOptions": { "parserOptions": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment