Skip to content

Commit

Permalink
fix(eslint-config): move @git-validator/no-property-decorator to ts…
Browse files Browse the repository at this point in the history
… from js
  • Loading branch information
zanminkian committed Mar 25, 2024
1 parent 05fbe8a commit f604ff4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sharp-frogs-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@git-validator/eslint-config": patch
---

fix(eslint-config): move `@git-validator/no-property-decorator` to ts from js
1 change: 0 additions & 1 deletion packages/eslint-config/src/js-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ export default {
"@git-validator/no-for-in": "error",
"@git-validator/no-instanceof-builtin": "error",
"@git-validator/no-legacy-getter-setter": "error",
"@git-validator/no-property-decorator": "error",
"@git-validator/prefer-global-this": "error",
"@git-validator/prefer-shortest-relative-path": "error",
},
Expand Down
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 @@ -147,6 +147,7 @@ const mainConfig = {
"@git-validator/no-const-enum": "error",
"@git-validator/no-declares-in-ts-file": "error",
"@git-validator/no-export-assignment": "error",
"@git-validator/no-property-decorator": "error",
// typescript
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-comment": [
Expand Down

0 comments on commit f604ff4

Please sign in to comment.