aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-05-28 18:52:56 +0200
committerHampusM <hampus@hampusmat.com>2021-05-28 18:52:56 +0200
commit5ee8a02ff03200ef9d9e1639242f93c9be930b04 (patch)
treee4d6dc97ea9ff3abc40368f24207f1ee06c3e28b /.eslintrc.json
parent06f028bf5aefba7d93a7a00373ea820f4537bfd3 (diff)
Cleaned up & added a couple of Eslint rules
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 4a59fc5..0e29f86 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -19,6 +19,9 @@
"implicit-arrow-linebreak": ["warn", "beside"],
"indent": ["warn", "tab"],
"linebreak-style": ["warn", "unix"],
+ "comma-dangle": ["error", "never"],
+ "semi": ["error", "always"],
+ "no-var": "error",
"vue/max-attributes-per-line": ["warn", {
"singleline": {
"max": 2,