Skip to content

Commit 809d932

Browse files
committed
add rules "no-trailing-spaces" and "no-irregular-whitespace" for ESLint
1 parent 19d906c commit 809d932

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: .eslintrc.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"quotes": ["error", "double"],
55
"max-len": ["error", 250],
66
"curly": "error",
7-
"camelcase": ["error", {"properties": "never"}]
7+
"camelcase": ["error", {"properties": "never"}],
8+
"no-trailing-spaces": ["error"],
9+
"no-irregular-whitespace": ["error"]
810
},
911
"env": {
1012
"browser": true,
1113
"node": true,
1214
"es6": true
1315
}
14-
}
16+
}

0 commit comments

Comments
 (0)