mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⚡ Add trailing comma rule (#1091)
This commit is contained in:
parent
b1ce92f31d
commit
5b7efd67ca
|
@ -87,6 +87,18 @@
|
||||||
"ignore-bound-class-methods"
|
"ignore-bound-class-methods"
|
||||||
],
|
],
|
||||||
"switch-default": true,
|
"switch-default": true,
|
||||||
|
"trailing-comma": [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
"multiline": {
|
||||||
|
"objects": "always",
|
||||||
|
"arrays": "always",
|
||||||
|
"functions": "never",
|
||||||
|
"typeLiterals": "ignore"
|
||||||
|
},
|
||||||
|
"esSpecCompliant": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"triple-equals": [
|
"triple-equals": [
|
||||||
true,
|
true,
|
||||||
"allow-null-check"
|
"allow-null-check"
|
||||||
|
|
Loading…
Reference in a new issue