Skip to content

Commit 0a94845

Browse files
alfaprojectvsavkin
authored andcommitted
chore(lint): replace duplicate-module-import rule with no-duplicate-imports
1 parent 262bd23 commit 0a94845

File tree

3 files changed

+12
-58
lines changed

3 files changed

+12
-58
lines changed

gulpfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ gulp.task('lint', ['check-tests', 'format:enforce', 'tools:build'], () => {
156156
.pipe(tslint({
157157
tslint: require('tslint').default,
158158
configuration: tslintConfig,
159-
rulesDirectory: 'dist/tools/tslint',
160159
formatter: 'prose',
161160
}))
162161
.pipe(tslint.report({emitError: true}));

tools/tslint/duplicateModuleImportRule.ts

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

tslint.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
2-
"rules": {
3-
"requireInternalWithUnderscore": true,
4-
"duplicateModuleImport": true,
5-
"enforce-copyright-header": true,
6-
"no-duplicate-variable": true,
7-
"semicolon": [true],
8-
"variable-name": [true, "ban-keywords"]
9-
}
2+
"rulesDirectory": [
3+
"dist/tools/tslint",
4+
"node_modules/vrsource-tslint-rules/rules"
5+
],
6+
"rules": {
7+
"enforce-copyright-header": true,
8+
"no-duplicate-imports": true,
9+
"no-duplicate-variable": true,
10+
"require-internal-with-underscore": true,
11+
"semicolon": [true],
12+
"variable-name": [true, "ban-keywords"]
13+
}
1014
}

0 commit comments

Comments
 (0)