@@ -97,6 +97,7 @@ import { convertPromiseFunctionAsync } from "./converters/promise-function-async
97
97
import { convertRadix } from "./converters/radix" ;
98
98
import { convertRestrictPlusOperands } from "./converters/restrict-plus-operands" ;
99
99
import { convertSpaceBeforeFunctionParen } from "./converters/space-before-function-paren" ;
100
+ import { convertSpaceWithinParens } from "./converters/space-within-parens" ;
100
101
import { convertSwitchDefault } from "./converters/switch-default" ;
101
102
import { convertTypedefWhitespace } from "./converters/typedef-whitespace" ;
102
103
import { convertTypeLiteralDelimiter } from "./converters/type-literal-delimiter" ;
@@ -210,6 +211,7 @@ export const converters = new Map([
210
211
[ "prefer-readonly" , convertPreferReadonly ] ,
211
212
[ "prefer-template" , convertPreferTemplate ] ,
212
213
[ "space-before-function-paren" , convertSpaceBeforeFunctionParen ] ,
214
+ [ "space-within-parens" , convertSpaceWithinParens ] ,
213
215
[ "switch-default" , convertSwitchDefault ] ,
214
216
[ "no-banned-terms" , convertNoBannedTerms ] ,
215
217
[ "no-constant-condition" , convertNoConstantCondition ] ,
@@ -222,12 +224,12 @@ export const converters = new Map([
222
224
[ "quotemark" , convertQuotemark ] ,
223
225
[ "triple-equals" , convertTripleEquals ] ,
224
226
225
- // These converters are all for rules that need more complex option conversions.
226
- // Some of them will likely need to have notices about changed lint behaviors...
227
- // If you're willing to take on that work, that'd be great! Please send PRs! 💖
228
- // As these are enabled, they should be added in sorted order to the list above.
227
+ // these converters are all for rules that need more complex option conversions.
228
+ // some of them will likely need to have notices about changed lint behaviors...
229
+ // if you're willing to take on that work, that'd be great! Please send PRs! 💖
230
+ // as these are enabled, they should be added in sorted order to the list above.
229
231
230
- // TSLint core rules:
232
+ // tSLint core rules:
231
233
// ["ban", convertBan], // no-restricted-properties
232
234
// ["import-blacklist", convertImportBlacklist], // no-restricted-imports
233
235
// ["newline-before-return", convertNewlineBeforeReturn],
@@ -236,7 +238,8 @@ export const converters = new Map([
236
238
// ["no-trailing-whitespace", convertNoTrailingWhitespace], // no-trailing-spaces
237
239
// ["no-unused-expression", convertNoUnusedExpression], // no-unused-expressions
238
240
// ["no-void-expression", convertNoVoidExpression], // (no exact equivalent)
239
- // ["space-within-parens", convertSpaceWithinParens], // space-in-parens
241
+ // ["quotemark", convertQuotemark], // quotes
242
+ // ["triple-equals", convertTripleEquals], // eqeqeq
240
243
// ["variable-name", convertVariableName], // a bunch of rules...
241
244
242
245
// tslint-microsoft-contrib rules:
0 commit comments