Skip to content

Commit

Permalink
feat(eslint): config
Browse files Browse the repository at this point in the history
  • Loading branch information
MM25Zamanian committed Oct 10, 2024
1 parent 4e8bc08 commit 6c98846
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,36 @@ rules:
- capIsNewExceptionPattern: Mixin$
brace-style:
- error
- stroustrup
- 1tbs
- allowSingleLine: true
'@typescript-eslint/consistent-type-imports':
- error
- fixStyle: separate-type-imports
prefer: type-imports
curly:
- error
- multi-or-nest
for-direction: error
no-class-assign: error
no-await-in-loop: error
no-compare-neg-zero: error
no-const-assign: error
no-constant-condition: error
no-constant-binary-expression: error
complexity: error
capitalized-comments: error
default-case-last: error
dot-notation:
- warn
no-console:
- warn
arrow-body-style:
- error
- as-needed
eqeqeq:
- error
- always
- 'null': ignore
indent:
- error
- 2
Expand Down

0 comments on commit 6c98846

Please sign in to comment.