Skip to content

Commit

Permalink
Add esSpecCompliant: true to recommended trailing-comma config (palan…
Browse files Browse the repository at this point in the history
  • Loading branch information
bschlenk authored and johnwiseheart committed Jul 27, 2018
1 parent f77812c commit 2135829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export const rules = {
"object-literal-sort-keys": true,
"prefer-const": true,
"trailing-comma": [true, {
"esSpecCompliant": true,
"multiline": "always",
"singleline": "never",
}],
Expand Down
1 change: 1 addition & 0 deletions src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export const rules = {
},
"trailing-comma": {
options: {
esSpecCompliant: true,
multiline: "always",
singleline: "never",
},
Expand Down

0 comments on commit 2135829

Please sign in to comment.