Skip to content

Commit ee6eafc

Browse files
committed
Make typescript eslint rules more forgiving
1 parent 55f44c9 commit ee6eafc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

configs/eslint.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ module.exports = {
3838
// see for rational https://basarat.gitbook.io/typescript/main-1/defaultisbad
3939
'import/no-default-export': 'error',
4040
'@typescript-eslint/restrict-template-expressions': 'off',
41+
'@typescript-eslint/ban-ts-comment': 'warn',
42+
'@typescript-eslint/no-explicit-any': 'warn',
43+
'@typescript-eslint/no-unsafe-assignment': 'warn',
44+
'@typescript-eslint/no-unsafe-call': 'warn',
45+
'@typescript-eslint/no-unsafe-member-access': 'warn',
46+
'@typescript-eslint/no-unsafe-return': 'warn',
47+
'@typescript-eslint/no-this-alias': 'warn',
4148
},
4249
overrides: [
4350
{

0 commit comments

Comments
 (0)