@@ -120,13 +120,6 @@ module.exports = {
120120 allowArray : true ,
121121 } ,
122122 ] ,
123- //162, 31 when allowing numbers and strings, kinda related to restrict-template-expressions
124- "@typescript-eslint/restrict-plus-operands" : [
125- "off" ,
126- {
127- allowNumberAndString : true ,
128- } ,
129- ] ,
130123
131124 //using
132125 "@typescript-eslint/no-unsafe-member-access" : "error" ,
@@ -170,6 +163,12 @@ module.exports = {
170163 "@typescript-eslint/use-unknown-in-catch-callback-variable" : "error" ,
171164 "@typescript-eslint/await-thenable" : "error" ,
172165 "@typescript-eslint/no-unnecessary-type-arguments" : "error" ,
166+ "@typescript-eslint/restrict-plus-operands" : [
167+ "error" ,
168+ {
169+ allowNumberAndString : true ,
170+ } ,
171+ ] ,
173172
174173 //handled by oxlint
175174 "@typescript-eslint/no-non-null-assertion" : "off" ,
@@ -179,7 +178,7 @@ module.exports = {
179178 "@typescript-eslint/no-unused-expressions" : "off" ,
180179 "@typescript-eslint/no-empty-function" : "off" ,
181180 "no-empty" : "off" ,
182- "@typescript-eslint/only-throw-error" : "off " ,
181+ "@typescript-eslint/only-throw-error" : "error " ,
183182 "@typescript-eslint/ban-ts-comment" : "off" ,
184183 "@typescript-eslint/no-unsafe-function-type" : "off" ,
185184 "@typescript-eslint/consistent-type-definitions" : "off" ,
0 commit comments