Skip to content
This repository was archived by the owner on Oct 22, 2023. It is now read-only.

Commit 644b231

Browse files
committed
add propert comma dangle rule
1 parent f3a05ab commit 644b231

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

index.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ module.exports = {
1414
ignoreTemplateLiterals: false,
1515
},
1616
],
17-
'no-void': 'off'
17+
'no-void': 'off',
18+
'comma-dangle': [
19+
'error', {
20+
arrays: 'always-multiline',
21+
objects: 'always-multiline',
22+
imports: 'always-multiline',
23+
exports: 'always-multiline',
24+
functions: 'never',
25+
},
26+
],
1827
},
1928
};

0 commit comments

Comments
 (0)