Skip to content

Commit

Permalink
fix: add an empty line between statements
Browse files Browse the repository at this point in the history
  • Loading branch information
theotime2005 committed Feb 13, 2025
1 parent 8182cf2 commit 6b5a4f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ export default [
],
'no-var': ['error'],
'object-curly-spacing': ['error', 'always'],
'padding-line-between-statements': [
'error',
{ blankLine: 'always', prev: 'block', next: 'block' },
{ blankLine: 'always', prev: 'function', next: 'function' },
{ blankLine: 'always', prev: 'class', next: 'function' }
],
'prefer-const': ['error'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
Expand Down

0 comments on commit 6b5a4f7

Please sign in to comment.