Skip to content

Commit

Permalink
chore: enable no-unnecessary-type-assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Mar 3, 2024
1 parent b11b1f4 commit c9d08a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ module.exports = defineConfig({
'@typescript-eslint/no-implied-eval': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'off',
'@typescript-eslint/no-throw-literal': 'off',
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unused-vars': 'off',
Expand Down
2 changes: 1 addition & 1 deletion src/operations/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ export function addConstraint(mOptions: MigrationOptions): CreateConstraint {
}
: parseConstraints(
tableName,
expression as Exclude<typeof expression, string>,
expression,
constraintName,
mOptions.literal
);
Expand Down

0 comments on commit c9d08a9

Please sign in to comment.