File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,8 @@ export default tseslint.config(
103
103
// make sure we're not leveraging any deprecated APIs
104
104
'deprecation/deprecation' : 'error' ,
105
105
106
- // TODO(#7130): Investigate changing these in or removing these from presets
106
+ // TODO: https://github.com/typescript-eslint/typescript-eslint/issues/8538
107
107
'@typescript-eslint/no-confusing-void-expression' : 'off' ,
108
- '@typescript-eslint/prefer-string-starts-ends-with' : 'off' ,
109
108
110
109
//
111
110
// our plugin :D
@@ -142,6 +141,12 @@ export default tseslint.config(
142
141
allowBitwiseExpressions : true ,
143
142
} ,
144
143
] ,
144
+ '@typescript-eslint/prefer-string-starts-ends-with' : [
145
+ 'error' ,
146
+ {
147
+ allowSingleElementEquality : 'always' ,
148
+ } ,
149
+ ] ,
145
150
'@typescript-eslint/unbound-method' : 'off' ,
146
151
'@typescript-eslint/restrict-template-expressions' : [
147
152
'error' ,
You can’t perform that action at this time.
0 commit comments