Skip to content

Commit

Permalink
feat(eslint-config): remove some deprecated rules and enable some rules
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Nov 23, 2024
1 parent 55cf874 commit f970c54
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/eslint-config/src/config/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,12 @@ export function typescript(project?: string) {
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unnecessary-type-constraint": "error",
"@typescript-eslint/no-unsafe-declaration-merging": "error",
// '@typescript-eslint/no-unsafe-function-type': "error",
// "@typescript-eslint/no-wrapper-object-types": "error",
"@typescript-eslint/no-unsafe-function-type": "error",
"@typescript-eslint/no-wrapper-object-types": "error",
"@typescript-eslint/prefer-as-const": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-optional-chain": "error",
"@typescript-eslint/prefer-readonly": "error",
"@typescript-eslint/prefer-ts-expect-error": "error",
"@typescript-eslint/restrict-plus-operands": [
"error",
{
Expand Down

0 comments on commit f970c54

Please sign in to comment.