Add trailing comma rule (#1091)

This commit is contained in:
Ricardo Espinoza
2020-10-22 09:25:21 -04:00
committed by GitHub
parent b1ce92f31d
commit 5b7efd67ca

View File

@@ -87,6 +87,18 @@
"ignore-bound-class-methods"
],
"switch-default": true,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"triple-equals": [
true,
"allow-null-check"