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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"