Skip to content

Commit

Permalink
fix(eslint-config): move class-literal-property-style back to ts base
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Dec 30, 2024
1 parent b82d9ee commit 9fcef9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sixty-ducks-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fenge/eslint-config": patch
---

fix(eslint-config): move `class-literal-property-style` back to ts base
1 change: 0 additions & 1 deletion packages/eslint-config/src/config/js/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ export function getJsBase() {
"ts-nocheck": true,
},
],
"@typescript-eslint/class-literal-property-style": "error",
"@typescript-eslint/no-this-alias": "error",
"@typescript-eslint/no-useless-empty-export": "error",
"@typescript-eslint/prefer-for-of": "error",
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config/src/config/ts/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export function getTsBase() {
"@typescript-eslint/adjacent-overload-signatures": "error",
// "@typescript-eslint/array-type": ["error", 'array-simple'], // The default option is 'array'. Not very sure if we need to change the option. So disabled it.
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/class-literal-property-style": "error",
"@typescript-eslint/consistent-generic-constructors": "error",
"@typescript-eslint/consistent-indexed-object-style": "error",
"@typescript-eslint/consistent-type-assertions": [
Expand Down

0 comments on commit 9fcef9d

Please sign in to comment.