add more rules to eslint file

This commit is contained in:
Riley Davis
2016-11-02 14:09:10 -06:00
parent ed7bf1cc0b
commit f0f6963aa5
+24 -1
View File
@@ -23,6 +23,29 @@
"semi": [
"error",
"always"
]
],
"no-template-curly-in-string": [1],
"no-unsafe-negation": [1],
"array-callback-return": [1],
"eqeqeq": [2],
"no-eval": [2],
"no-global-assign": [2],
"no-implied-eval": [2],
"no-script-url": [2],
"no-throw-literal": [2],
"yoda": [1],
"no-path-concat": [2],
"no-process-exit": [2],
"camelcase": [1],
"eol-last": [1],
"no-continue": [1],
"no-nested-ternary": [1],
"no-tabs": [2],
"no-unneeded-ternary": [1],
"object-curly-spacing": [1],
"space-infix-ops": ["error"],
"no-const-assign": [2],
"no-duplicate-imports": [2],
"prefer-template": [1]
}
}