Skip to content

Commit

Permalink
feat: bump package version to 1.3.13 and disable no-unnecessary-type-…
Browse files Browse the repository at this point in the history
…parameters rule

The package version update reflects new changes in the ESLint configuration, specifically the addition of a rule to disable unnecessary type parameters in TypeScript, which addresses an issue with the jwtDecode function's type compatibility.
  • Loading branch information
Bluzzi committed Dec 26, 2024
1 parent 8024cfa commit d28b5b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bluzzi/eslint-config",
"description": "ESLint configuration preset for linting and formatting all your files",
"version": "1.3.12",
"version": "1.3.13",
"license": "MIT",
"author": "Bluzzi",
"type": "module",
Expand Down
1 change: 1 addition & 0 deletions src/configs/typescript/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const typescript = ({ tsconfigPath }: ParamsTS = {}): TypedFlatConfigItem
"@typescript-eslint/no-non-null-assertion": "off", // TODO: Check if this rule is relevant
"@typescript-eslint/no-confusing-void-expression": "off", // TODO: Check if this rule is relevant
"@typescript-eslint/prefer-nullish-coalescing": "off", // TODO: Check if this rule is relevant
"@typescript-eslint/no-unnecessary-type-parameters": "off", // TODO: Check if this rule is relevant (not working with `export const jwtDecode = <Payload extends object>(jwt: string): { expirationUnixTimestamp: number } & Payload => {`)
},
};
};

0 comments on commit d28b5b0

Please sign in to comment.