-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Labels
Central-EngSysThis issue is owned by the Engineering System team.This issue is owned by the Engineering System team.Spec PR ToolsTooling that runs in azure-rest-api-specs repo.Tooling that runs in azure-rest-api-specs repo.
Description
$ npm run tslint
> @azure/[email protected] tslint
> tslint --project tsconfig.json "./src/**/*.ts"
The 'no-unnecessary-initializer' rule threw an error in '/home/mharder/openapi-diff-mh/src/lib/util/utils.ts':
TypeError: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead.
at /home/mharder/openapi-diff-mh/node_modules/typescript/lib/typescript.js:174085:13
at IdentifierObject.<anonymous> (/home/mharder/openapi-diff-mh/node_modules/typescript/lib/typescript.js:174115:7)
at isUndefined (/home/mharder/openapi-diff-mh/node_modules/tslint/lib/rules/noUnnecessaryInitializerRule.js:106:14)
at checkInitializer (/home/mharder/openapi-diff-mh/node_modules/tslint/lib/rules/noUnnecessaryInitializerRule.js:83:13)
at cb (/home/mharder/openapi-diff-mh/node_modules/tslint/lib/rules/noUnnecessaryInitializerRule.js:60:21)
at visitNodes (/home/mharder/openapi-diff-mh/node_modules/typescript/lib/typescript.js:28321:24)
at forEachChildInVariableDeclarationList (/home/mharder/openapi-diff-mh/node_modules/typescript/lib/typescript.js:28970:18)
at Object.forEachChild (/home/mharder/openapi-diff-mh/node_modules/typescript/lib/typescript.js:28406:37)
at cb (/home/mharder/openapi-diff-mh/node_modules/tslint/lib/rules/noUnnecessaryInitializerRule.js:80:12)
at visitNode2 (/home/mharder/openapi-diff-mh/node_modules/typescript/lib/typescript.js:28313:20)
I think we need to migrate off tslint, it's no longer being updated.
Metadata
Metadata
Assignees
Labels
Central-EngSysThis issue is owned by the Engineering System team.This issue is owned by the Engineering System team.Spec PR ToolsTooling that runs in azure-rest-api-specs repo.Tooling that runs in azure-rest-api-specs repo.
Type
Projects
Status
🎊 Closed
Status
🎊 Closed