@@ -17,6 +17,7 @@ export default [
1717 // scenarios to communicate intent.
1818 'no-empty' : 'off' ,
1919 '@typescript-eslint/no-empty-function' : 'off' ,
20+ '@typescript-eslint/prefer-nullish-coalescing' : 'off' ,
2021
2122 // We use these globals even though they're technically unstable features on our minimum
2223 // supported node version.
@@ -39,6 +40,12 @@ export default [
3940 'n/no-unpublished-bin' : 'off' ,
4041 } ,
4142 } ,
43+ {
44+ files : [ 'e2e/install.e2e.ts' ] ,
45+ rules : {
46+ '@typescript-eslint/await-thenable' : 'off' ,
47+ } ,
48+ } ,
4249 {
4350 files : [ 'src/commands/api/api.ts' ] ,
4451 rules : {
@@ -221,6 +228,7 @@ export default [
221228 '@typescript-eslint/await-thenable' : 'off' ,
222229 '@typescript-eslint/no-confusing-void-expression' : 'off' ,
223230 '@typescript-eslint/no-floating-promises' : 'off' ,
231+ '@typescript-eslint/no-unnecessary-type-conversion' : 'off' ,
224232 } ,
225233 } ,
226234 {
@@ -532,6 +540,7 @@ export default [
532540 '@typescript-eslint/no-unsafe-assignment' : 'off' ,
533541 '@typescript-eslint/no-unsafe-member-access' : 'off' ,
534542 '@typescript-eslint/no-deprecated' : 'off' ,
543+ '@typescript-eslint/no-unnecessary-type-conversion' : 'off' ,
535544 } ,
536545 } ,
537546 {
@@ -549,6 +558,7 @@ export default [
549558 '@typescript-eslint/no-floating-promises' : 'off' ,
550559 '@typescript-eslint/prefer-regexp-exec' : 'off' ,
551560 '@typescript-eslint/no-non-null-assertion' : 'off' ,
561+ '@typescript-eslint/no-unnecessary-type-conversion' : 'off' ,
552562 } ,
553563 } ,
554564 {
@@ -727,6 +737,7 @@ export default [
727737 '@typescript-eslint/no-unsafe-member-access' : 'off' ,
728738 '@typescript-eslint/no-unsafe-call' : 'off' ,
729739 '@typescript-eslint/no-confusing-void-expression' : 'off' ,
740+ '@typescript-eslint/await-thenable' : 'off' ,
730741 } ,
731742 } ,
732743 {
@@ -1019,6 +1030,12 @@ export default [
10191030 '@typescript-eslint/prefer-nullish-coalescing' : 'off' ,
10201031 } ,
10211032 } ,
1033+ {
1034+ files : [ 'src/utils/scripted-commands.ts' ] ,
1035+ rules : {
1036+ '@typescript-eslint/no-unnecessary-type-conversion' : 'off' ,
1037+ } ,
1038+ } ,
10221039 {
10231040 files : [ 'src/utils/sign-redirect.ts' ] ,
10241041 rules : {
@@ -1176,6 +1193,8 @@ export default [
11761193 '@typescript-eslint/no-non-null-assertion' : 'off' ,
11771194 '@typescript-eslint/no-require-imports' : 'off' ,
11781195 '@typescript-eslint/require-await' : 'off' ,
1196+ '@typescript-eslint/no-unnecessary-type-conversion' : 'off' ,
1197+ '@typescript-eslint/await-thenable' : 'off' ,
11791198 } ,
11801199 } ,
11811200 {
@@ -1207,6 +1226,7 @@ export default [
12071226 rules : {
12081227 '@typescript-eslint/restrict-template-expressions' : 'off' ,
12091228 '@typescript-eslint/no-non-null-assertion' : 'off' ,
1229+ '@typescript-eslint/no-unnecessary-type-conversion' : 'off' ,
12101230 } ,
12111231 } ,
12121232 {
0 commit comments