Skip to content

Commit

Permalink
πŸ”§ Configure class-methods-use-this and add func-style (#25)
Browse files Browse the repository at this point in the history
* πŸ”§ Configure class-methods-use-this

* πŸ”§ Add func-style
  • Loading branch information
NatoBoram authored Mar 27, 2024
1 parent 3ebfb78 commit 72ffd02
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ parserOptions:
plugins:
- "@typescript-eslint"
rules:
"@typescript-eslint/class-methods-use-this": error
"@typescript-eslint/class-methods-use-this":
- error
- ignoreClassesThatImplementAnInterface: true
ignoreOverrideMethods: true
"@typescript-eslint/consistent-type-exports": error
"@typescript-eslint/consistent-type-imports":
- error
Expand All @@ -40,3 +43,7 @@ rules:
"@typescript-eslint/return-await": error
"@typescript-eslint/sort-type-constituents": error
"@typescript-eslint/switch-exhaustiveness-check": error

func-style:
- error
- declaration

0 comments on commit 72ffd02

Please sign in to comment.