Skip to content

Commit 39d5101

Browse files
committed
ts: tweak comma-dangle and array brachet spacing rules
1 parent b41fd77 commit 39d5101

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

typescript.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ module.exports = {
1515
],
1616
rules: {
1717
// Default ESlint rules to TypeScript-ESlint
18+
'@stylistic/array-bracket-spacing': 'always',
1819
'brace-style': 0,
1920
'@stylistic/brace-style': 2,
2021
'comma-dangle': 0,
21-
'@stylistic/comma-dangle': 2,
22+
'@stylistic/comma-dangle': [ 'error', 'only-multiline' ],
2223
'dot-notation': 0,
2324
'@typescript-eslint/dot-notation': 2,
2425
'keyword-spacing': 0,

0 commit comments

Comments
 (0)