Skip to content

Commit f82caf4

Browse files
authored
build: remove tslint workaround for custom rules (#19482)
Cleans up a workaround that was added to allow for our custom rules to be compiled while we were on the TS 3.9 RC version.
1 parent eae88ba commit f82caf4

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

tools/tslint-rules/tsLoaderRule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const Lint = require('tslint');
33

44
// Custom rule that registers all of the custom rules, written in TypeScript, with ts-node.
55
// This is necessary, because `tslint` and IDEs won't execute any rules that aren't in a .js file.
6-
require('ts-node').register({project: path.join(__dirname, './tsconfig.json')});
6+
require('ts-node').register({project: path.join(__dirname, '../gulp/tsconfig.json')});
77

88
// Add a noop rule so tslint doesn't complain.
99
exports.Rule = class Rule extends Lint.Rules.AbstractRule {

tools/tslint-rules/tsconfig.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)