Skip to content

Commit

Permalink
fix: revert '@stylistic/ts/comma-dangle' rule (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
lincenying committed Sep 21, 2023
1 parent 1fa1703 commit 711d3ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config-basic/index.js
Expand Up @@ -218,7 +218,7 @@ module.exports = {
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-require-imports': 'off',

'@stylistic/ts/comma-dangle': 'off',
'@typescript-eslint/comma-dangle': 'off',

'unused-imports/no-unused-imports': 'off',
'unused-imports/no-unused-vars': 'off',
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint-config-ts/index.js
Expand Up @@ -222,10 +222,8 @@ module.exports = {
'@typescript-eslint/quotes': ['error', 'single'],
'no-extra-parens': 'off',
'@typescript-eslint/no-extra-parens': ['error', 'functions'],

// Stylistic JS/TS Misalignments (should be fixed upstream)
'comma-dangle': 'off',
'@stylistic/ts/comma-dangle': ['error', 'always-multiline'],
'@typescript-eslint/comma-dangle': ['error', 'always-multiline'],

// Stylistic JS/TS
'@stylistic/js/space-before-blocks': 'off',
Expand Down

0 comments on commit 711d3ec

Please sign in to comment.