Skip to content

Commit

Permalink
chore: add eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Apr 7, 2023
1 parent 706859b commit ff8f42d
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,22 @@ module.exports = {
},
ignorePatterns: ['**/*.js'],
rules: {
'@typescript-eslint/explicit-module-boundary-types': [0],
'@typescript-eslint/prefer-regexp-exec': [0],
'@typescript-eslint/ban-ts-comment': [0],
'@typescript-eslint/restrict-template-expressions': [0],
'@typescript-eslint/no-inferrable-types': [0],
'@typescript-eslint/no-unnecessary-type-assertion': [0],
'@typescript-eslint/explicit-module-boundary-types': ['off'],
'@typescript-eslint/prefer-regexp-exec': ['off'],
'@typescript-eslint/ban-ts-comment': ['off'],
'@typescript-eslint/restrict-template-expressions': ['off'],
'@typescript-eslint/no-inferrable-types': ['off'],
'@typescript-eslint/no-unnecessary-type-assertion': ['off'],

// TODO: enable the `no-unsafe-*` rules
'@typescript-eslint/no-unsafe-argument': [0],
'@typescript-eslint/no-unsafe-assignment': [0],
'@typescript-eslint/no-unsafe-call': [0],
'@typescript-eslint/no-unsafe-return': [0],
'@typescript-eslint/no-unsafe-member-access': [0],
'@typescript-eslint/no-non-null-assertion': [0],
'@typescript-eslint/no-unsafe-argument': ['off'],
'@typescript-eslint/no-unsafe-assignment': ['off'],
'@typescript-eslint/no-unsafe-call': ['off'],
'@typescript-eslint/no-unsafe-return': ['off'],
'@typescript-eslint/no-unsafe-member-access': ['off'],
'@typescript-eslint/no-non-null-assertion': ['off'],

'import/no-extraneous-dependencies': ['error'],
'no-new-wrappers': ['error'],
},
};

1 comment on commit ff8f42d

@vercel
Copy link

@vercel vercel bot commented on ff8f42d Apr 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.