Skip to content
Snippets Groups Projects
Commit b2985b1c authored by Skriv's avatar Skriv
Browse files

rules to force semis and remove padded blocks

parent cc089e79
No related branches found
No related tags found
No related merge requests found
...@@ -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