Skip to content

Commit b2a7297

Browse files
committed
Remove tslint-microsoft-contrib.
1 parent f210738 commit b2a7297

File tree

28 files changed

+10
-107
lines changed

28 files changed

+10
-107
lines changed

build-tests-samples/heft-node-basic-tutorial/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

build-tests-samples/heft-node-rig-tutorial/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

build-tests-subspace/typescript-newest-test/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

build-tests-subspace/typescript-v4-test/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

build-tests/heft-node-everything-esm-module-test/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"heft-example-plugin-01": "workspace:*",
2626
"heft-example-plugin-02": "workspace:*",
2727
"tslint": "~5.20.1",
28-
"tslint-microsoft-contrib": "~6.2.0",
2928
"typescript": "~5.4.2"
3029
}
3130
}

build-tests/heft-node-everything-esm-module-test/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

build-tests/heft-node-everything-esm-module-test/tslint.json

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"$schema": "http://json.schemastore.org/tslint",
33

4-
"rulesDirectory": ["tslint-microsoft-contrib"],
54
"rules": {
65
"class-name": true,
76
"comment-format": [true, "check-space"],
87
"curly": true,
98
"eofline": false,
10-
"export-name": true,
119
"forin": true,
1210
"indent": [true, "spaces", 2],
1311
"interface-name": true,
@@ -36,32 +34,26 @@
3634
]
3735
}
3836
],
39-
"missing-optional-annotation": true,
4037
"no-arg": true,
4138
"no-any": true,
4239
"no-bitwise": true,
4340
"no-consecutive-blank-lines": true,
4441
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
45-
"no-constant-condition": true,
4642
"no-construct": true,
4743
"no-debugger": true,
4844
"no-duplicate-switch-case": true,
49-
"no-duplicate-parameter-names": true,
5045
"no-duplicate-variable": true,
5146
"no-empty": true,
5247
"no-eval": true,
5348
"no-floating-promises": true,
54-
"no-function-expression": true,
5549
"no-inferrable-types": false,
5650
"no-internal-module": true,
5751
"no-null-keyword": true,
5852
"no-shadowed-variable": true,
5953
"no-string-literal": true,
6054
"no-switch-case-fall-through": true,
6155
"no-trailing-whitespace": true,
62-
"no-unnecessary-semicolons": true,
6356
"no-unused-expression": true,
64-
"no-with-statement": true,
6557
"no-var-keyword": true,
6658
"object-literal-sort-keys": false,
6759
"one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace"],
@@ -96,7 +88,6 @@
9688
}
9789
],
9890
"use-isnan": true,
99-
"use-named-parameter": true,
10091
"variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords"],
10192
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"]
10293
}

build-tests/heft-node-everything-test/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"heft-example-plugin-01": "workspace:*",
2525
"heft-example-plugin-02": "workspace:*",
2626
"tslint": "~5.20.1",
27-
"tslint-microsoft-contrib": "~6.2.0",
2827
"typescript": "~5.4.2"
2928
}
3029
}

build-tests/heft-node-everything-test/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

build-tests/heft-node-everything-test/tslint.json

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"$schema": "http://json.schemastore.org/tslint",
33

4-
"rulesDirectory": ["tslint-microsoft-contrib"],
54
"rules": {
65
"class-name": true,
76
"comment-format": [true, "check-space"],
87
"curly": true,
98
"eofline": false,
10-
"export-name": true,
119
"forin": true,
1210
"indent": [true, "spaces", 2],
1311
"interface-name": true,
@@ -36,32 +34,26 @@
3634
]
3735
}
3836
],
39-
"missing-optional-annotation": true,
4037
"no-arg": true,
4138
"no-any": true,
4239
"no-bitwise": true,
4340
"no-consecutive-blank-lines": true,
4441
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
45-
"no-constant-condition": true,
4642
"no-construct": true,
4743
"no-debugger": true,
4844
"no-duplicate-switch-case": true,
49-
"no-duplicate-parameter-names": true,
5045
"no-duplicate-variable": true,
5146
"no-empty": true,
5247
"no-eval": true,
5348
"no-floating-promises": true,
54-
"no-function-expression": true,
5549
"no-inferrable-types": false,
5650
"no-internal-module": true,
5751
"no-null-keyword": true,
5852
"no-shadowed-variable": true,
5953
"no-string-literal": true,
6054
"no-switch-case-fall-through": true,
6155
"no-trailing-whitespace": true,
62-
"no-unnecessary-semicolons": true,
6356
"no-unused-expression": true,
64-
"no-with-statement": true,
6557
"no-var-keyword": true,
6658
"object-literal-sort-keys": false,
6759
"one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace"],
@@ -96,7 +88,6 @@
9688
}
9789
],
9890
"use-isnan": true,
99-
"use-named-parameter": true,
10091
"variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords"],
10192
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"]
10293
}

build-tests/heft-typescript-composite-test/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"@types/webpack-env": "1.18.0",
2121
"eslint": "~8.57.0",
2222
"tslint": "~5.20.1",
23-
"tslint-microsoft-contrib": "~6.2.0",
2423
"typescript": "~5.4.2"
2524
}
2625
}

build-tests/heft-typescript-composite-test/tslint.json

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"$schema": "http://json.schemastore.org/tslint",
33

4-
"rulesDirectory": ["tslint-microsoft-contrib"],
54
"rules": {
65
"class-name": true,
76
"comment-format": [true, "check-space"],
87
"curly": true,
98
"eofline": false,
10-
"export-name": true,
119
"forin": true,
1210
"indent": [true, "spaces", 2],
1311
"interface-name": true,
@@ -36,22 +34,18 @@
3634
]
3735
}
3836
],
39-
"missing-optional-annotation": true,
4037
"no-arg": true,
4138
"no-any": true,
4239
"no-bitwise": true,
4340
"no-consecutive-blank-lines": true,
4441
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
45-
"no-constant-condition": true,
4642
"no-construct": true,
4743
"no-debugger": true,
4844
"no-duplicate-switch-case": true,
49-
"no-duplicate-parameter-names": true,
5045
"no-duplicate-variable": true,
5146
"no-empty": true,
5247
"no-eval": true,
5348
"no-floating-promises": true,
54-
"no-function-expression": true,
5549
"no-inferrable-types": false,
5650
"no-internal-module": true,
5751
"no-null-keyword": true,
@@ -62,9 +56,7 @@
6256
"no-string-literal": true,
6357
"no-switch-case-fall-through": true,
6458
"no-trailing-whitespace": true,
65-
"no-unnecessary-semicolons": true,
6659
"no-unused-expression": true,
67-
"no-with-statement": true,
6860
"no-var-keyword": true,
6961
"object-literal-sort-keys": false,
7062
"one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace"],
@@ -99,7 +91,6 @@
9991
}
10092
],
10193
"use-isnan": true,
102-
"use-named-parameter": true,
10394
"variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords"],
10495
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"]
10596
}

build-tests/heft-typescript-v2-test/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"@types/jest": "ts2.9",
2121
"@types/node": "ts2.9",
2222
"tslint": "~5.20.1",
23-
"tslint-microsoft-contrib": "~6.2.0",
2423
"typescript": "~2.9.2"
2524
}
2625
}

build-tests/heft-typescript-v2-test/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

build-tests/heft-typescript-v2-test/tslint.json

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"$schema": "http://json.schemastore.org/tslint",
33

4-
"rulesDirectory": ["tslint-microsoft-contrib"],
54
"rules": {
65
"class-name": true,
76
"comment-format": [true, "check-space"],
87
"curly": true,
98
"eofline": false,
10-
"export-name": true,
119
"forin": true,
1210
"indent": [true, "spaces", 2],
1311
"interface-name": true,
@@ -36,32 +34,26 @@
3634
]
3735
}
3836
],
39-
"missing-optional-annotation": true,
4037
"no-arg": true,
4138
"no-any": true,
4239
"no-bitwise": true,
4340
"no-consecutive-blank-lines": true,
4441
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
45-
"no-constant-condition": true,
4642
"no-construct": true,
4743
"no-debugger": true,
4844
"no-duplicate-switch-case": true,
49-
"no-duplicate-parameter-names": true,
5045
"no-duplicate-variable": true,
5146
"no-empty": true,
5247
"no-eval": true,
5348
"no-floating-promises": true,
54-
"no-function-expression": true,
5549
"no-inferrable-types": false,
5650
"no-internal-module": true,
5751
"no-null-keyword": true,
5852
"no-shadowed-variable": true,
5953
"no-string-literal": true,
6054
"no-switch-case-fall-through": true,
6155
"no-trailing-whitespace": true,
62-
"no-unnecessary-semicolons": true,
6356
"no-unused-expression": true,
64-
"no-with-statement": true,
6557
"no-var-keyword": true,
6658
"object-literal-sort-keys": false,
6759
"one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace"],
@@ -96,7 +88,6 @@
9688
}
9789
],
9890
"use-isnan": true,
99-
"use-named-parameter": true,
10091
"variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords"],
10192
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"]
10293
}

build-tests/heft-typescript-v3-test/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"@types/jest": "ts3.9",
2121
"@types/node": "ts3.9",
2222
"tslint": "~5.20.1",
23-
"tslint-microsoft-contrib": "~6.2.0",
2423
"typescript": "~3.9.10"
2524
}
2625
}

build-tests/heft-typescript-v3-test/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

build-tests/heft-typescript-v3-test/tslint.json

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"$schema": "http://json.schemastore.org/tslint",
33

4-
"rulesDirectory": ["tslint-microsoft-contrib"],
54
"rules": {
65
"class-name": true,
76
"comment-format": [true, "check-space"],
87
"curly": true,
98
"eofline": false,
10-
"export-name": true,
119
"forin": true,
1210
"indent": [true, "spaces", 2],
1311
"interface-name": true,
@@ -36,32 +34,26 @@
3634
]
3735
}
3836
],
39-
"missing-optional-annotation": true,
4037
"no-arg": true,
4138
"no-any": true,
4239
"no-bitwise": true,
4340
"no-consecutive-blank-lines": true,
4441
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
45-
"no-constant-condition": true,
4642
"no-construct": true,
4743
"no-debugger": true,
4844
"no-duplicate-switch-case": true,
49-
"no-duplicate-parameter-names": true,
5045
"no-duplicate-variable": true,
5146
"no-empty": true,
5247
"no-eval": true,
5348
"no-floating-promises": true,
54-
"no-function-expression": true,
5549
"no-inferrable-types": false,
5650
"no-internal-module": true,
5751
"no-null-keyword": true,
5852
"no-shadowed-variable": true,
5953
"no-string-literal": true,
6054
"no-switch-case-fall-through": true,
6155
"no-trailing-whitespace": true,
62-
"no-unnecessary-semicolons": true,
6356
"no-unused-expression": true,
64-
"no-with-statement": true,
6557
"no-var-keyword": true,
6658
"object-literal-sort-keys": false,
6759
"one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace"],
@@ -96,7 +88,6 @@
9688
}
9789
],
9890
"use-isnan": true,
99-
"use-named-parameter": true,
10091
"variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords"],
10192
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"]
10293
}

build-tests/heft-typescript-v4-test/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"@types/node": "ts4.9",
2424
"eslint": "~8.57.0",
2525
"tslint": "~5.20.1",
26-
"tslint-microsoft-contrib": "~6.2.0",
2726
"typescript": "~4.9.5"
2827
}
2928
}

build-tests/heft-typescript-v4-test/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/**
55
* @public
66
*/
7-
export class TestClass {} // tslint:disable-line:export-name
7+
export class TestClass {}

0 commit comments

Comments
 (0)