File tree 3 files changed +9
-3
lines changed
packages/typescript-estree/tests/ast-alignment 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ module.exports = {
67
67
'@typescript-eslint/no-unsafe-call' : 'off' ,
68
68
'@typescript-eslint/no-unsafe-member-access' : 'off' ,
69
69
'@typescript-eslint/no-unsafe-return' : 'off' ,
70
- '@typescript-eslint/restrict-plus-operands' : 'off' ,
71
70
'@typescript-eslint/restrict-template-expressions' : 'off' ,
72
71
// TODO - enable this
73
72
'@typescript-eslint/naming-convention' : 'off' ,
@@ -188,6 +187,13 @@ module.exports = {
188
187
'jest/no-deprecated-functions' : 'error' ,
189
188
} ,
190
189
} ,
190
+ // test utility scripts
191
+ {
192
+ files : [ 'tests/**/*.js' ] ,
193
+ rules : {
194
+ '@typescript-eslint/restrict-plus-operands' : 'off' ,
195
+ } ,
196
+ } ,
191
197
// plugin source files
192
198
{
193
199
files : [
Original file line number Diff line number Diff line change 1
- /* eslint-disable @typescript-eslint/no-explicit-any */
1
+ /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/restrict-plus-operands */
2
2
3
3
import type babelParser from '@babel/parser' ;
4
4
import { ParserPlugin } from '@babel/parser' ;
Original file line number Diff line number Diff line change 1
1
// babel types are something we don't really care about
2
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/restrict-plus-operands */
3
3
import { AST_NODE_TYPES , TSESTree } from '../../src/ts-estree' ;
4
4
import { deeplyCopy , omitDeep } from '../../tools/test-utils' ;
5
5
import * as BabelTypes from '@babel/types' ;
You can’t perform that action at this time.
0 commit comments