Skip to content

Commit

Permalink
Added rule to disallow else in it's own line
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed Apr 29, 2024
1 parent cccd563 commit 716e115
Show file tree
Hide file tree
Showing 4 changed files with 729 additions and 477 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
},
rules: {
'max-len': ['error', { code: 150, ignoreStrings: true }],
'brace-style': ['error', '1tbs', { 'allowSingleLine': false }],
curly: ['error', 'all'],
'no-console': 'off',
'@typescript-eslint/explicit-function-return-type': ['error'],
Expand Down
Loading

0 comments on commit 716e115

Please sign in to comment.