Skip to content

Commit

Permalink
feat(eslint-config): add @typescript-eslint/dot-notation for ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed May 9, 2024
1 parent de558e0 commit a3dfa23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-islands-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@git-validator/eslint-config": patch
---

feat(eslint-config): add `@typescript-eslint/dot-notation` for ts
1 change: 1 addition & 0 deletions packages/eslint-config/src/ts-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ const mainConfig = {
],
"@typescript-eslint/consistent-type-exports": "error",
// "@typescript-eslint/consistent-type-imports": "error,
"@typescript-eslint/dot-notation": ["error", { allowKeywords: true }],
"@typescript-eslint/method-signature-style": "error",
"@typescript-eslint/naming-convention": [
"error",
Expand Down

0 comments on commit a3dfa23

Please sign in to comment.