Skip to content

Commit

Permalink
chore(eslint): adjust style config
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Sep 22, 2024
1 parent 9324a91 commit 36064d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,17 @@ export default tseslint.config(
mode: 'minimum',
}],
'@stylistic/no-multi-spaces': ['error', {
exceptions: { ObjectExpression: true },
exceptions: {
ObjectExpression: true,
TSEnumMember: true,
},
}],
'@stylistic/quote-props': ['error', 'consistent-as-needed'],
'@stylistic/quotes': ['error', 'single', {
avoidEscape: true,
allowTemplateLiterals: true,
}],
'@stylistic/yield-star-spacing': ['error', 'after'],
},
},
)

0 comments on commit 36064d1

Please sign in to comment.