Skip to content

Commit

Permalink
update(typescript): @stylistic/js/no-multiple-empty-lines (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiyme authored Feb 27, 2025
1 parent eb22e34 commit e81037f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/configs/typescript/stylistic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ export const typescriptStylisticRules = {
'@stylistic/js/no-mixed-operators': 'error',
'@stylistic/js/no-mixed-spaces-and-tabs': 'error',
'@stylistic/js/no-multi-spaces': 'warn',
'@stylistic/js/no-multiple-empty-lines': ['warn', {
max: Infinity,
maxBOF: 0,
maxEOF: 0,
}],
'@stylistic/js/no-tabs': 'error',
'@stylistic/js/no-trailing-spaces': 'warn',
'@stylistic/js/no-whitespace-before-property': 'warn',
Expand Down

0 comments on commit e81037f

Please sign in to comment.