@@ -25,6 +25,7 @@ import { convertMaxClassesPerFile } from "./converters/max-classes-per-file";
2525import { convertMaxFileLineCount } from "./converters/max-file-line-count" ;
2626import { convertMaxLineLength } from "./converters/max-line-length" ;
2727import { convertMemberOrdering } from "./converters/member-ordering" ;
28+ import { convertNewlineBeforeReturn } from "./converters/newline-before-return" ;
2829import { convertNewlinePerChainedCall } from "./converters/newline-per-chained-call" ;
2930import { convertNewParens } from "./converters/new-parens" ;
3031import { convertNoAngleBracketTypeAssertion } from "./converters/no-angle-bracket-type-assertion" ;
@@ -133,6 +134,7 @@ export const converters = new Map([
133134 [ "member-access" , convertMemberAccess ] ,
134135 [ "member-ordering" , convertMemberOrdering ] ,
135136 [ "new-parens" , convertNewParens ] ,
137+ [ "newline-before-return" , convertNewlineBeforeReturn ] ,
136138 [ "newline-per-chained-call" , convertNewlinePerChainedCall ] ,
137139 [ "no-angle-bracket-type-assertion" , convertNoAngleBracketTypeAssertion ] ,
138140 [ "no-any" , convertNoExplicitAny ] ,
@@ -232,7 +234,6 @@ export const converters = new Map([
232234 // TSLint core rules:
233235 // ["ban", convertBan], // no-restricted-properties
234236 // ["import-blacklist", convertImportBlacklist], // no-restricted-imports
235- // ["newline-before-return", convertNewlineBeforeReturn],
236237 // ["no-duplicate-variable", convertNoDuplicateVariable], // no-redeclare
237238 // ["no-shadowed-variable", convertNoShadowedVariable], // no-shadow
238239 // ["no-trailing-whitespace", convertNoTrailingWhitespace], // no-trailing-spaces
0 commit comments