Skip to content
Snippets Groups Projects
Commit 0065e6f2 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'add-eslint-rules' into 'pregmod-master'

Eslint rules

See merge request !4358
parents 73e40264 b2985b1c
No related branches found
No related tags found
1 merge request!4358Eslint rules
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
} }
}, },
"rules": { "rules": {
"semi": ["error", "always"],
"semi-spacing": "warn", "semi-spacing": "warn",
"semi-style": "warn", "semi-style": "warn",
"eqeqeq": "error", "eqeqeq": "error",
...@@ -36,6 +37,7 @@ ...@@ -36,6 +37,7 @@
"no-nested-ternary": "warn", "no-nested-ternary": "warn",
"no-unneeded-ternary": "error", "no-unneeded-ternary": "error",
"camelcase": "warn", "camelcase": "warn",
"padded-blocks": ["error", "never"],
"comma-spacing": "error", "comma-spacing": "error",
"comma-style": "error", "comma-style": "error",
"object-curly-newline": ["warn", "object-curly-newline": ["warn",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment