Disallow trailing commas

This commit is contained in:
Daniel Imms
2018-03-20 09:10:48 -07:00
parent 4f82cf26f0
commit ae32893732
6 changed files with 19 additions and 7 deletions
+12
View File
@@ -43,6 +43,18 @@
true,
"always"
],
"trailing-comma": [
true,
{
"multiline": {
"objects": "never",
"arrays": "never",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"triple-equals": [
true,
"allow-null-check"