Skip to content

Commit 488e950

Browse files
committed
build(docs-infra): switch from no-op no-jasmine-focus tslint rule to ban
The `no-jasmine-focus` rule has been removed from `vrsource-tslint-rules` [since version 5.8.0][1] (theoretically; practically it remained [until version 5.8.2][2]). This commit removes the non-existent rule (and the obsolete dependency) and uses tslint's `ban` rule instead (as recommended). [1]: vrsource/vrsource-tslint-rules@477f622#diff-04c6e90faac2675aa89e2176d2eec7d8R162 [2]: vrsource/vrsource-tslint-rules#13 (comment)
1 parent 6550bed commit 488e950

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

aio/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@
163163
"unist-util-source": "^1.0.1",
164164
"unist-util-visit": "^1.1.1",
165165
"unist-util-visit-parents": "^1.1.1",
166-
"vrsource-tslint-rules": "^5.8.2",
167166
"watchr": "^3.0.1",
168167
"xregexp": "^4.0.0",
169168
"yargs": "^7.0.2"

aio/tslint.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"rules": {
77
"array-type": false,
88
"arrow-parens": false,
9+
"ban": [
10+
true,
11+
{"name": "fdescribe", "message": "Don't keep jasmine focus methods."},
12+
{"name": "fit", "message": "Don't keep jasmine focus methods."}
13+
],
914
"component-class-suffix": true,
1015
"component-selector": [
1116
true,
@@ -64,7 +69,6 @@
6469
],
6570
"no-input-rename": true,
6671
"no-inputs-metadata-property": true,
67-
"no-jasmine-focus": true,
6872
"no-output-native": true,
6973
"no-output-on-prefix": true,
7074
"no-output-rename": true,

aio/yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10726,11 +10726,6 @@ void-elements@^2.0.0:
1072610726
version "2.0.1"
1072710727
resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
1072810728

10729-
vrsource-tslint-rules@^5.8.2:
10730-
version "5.8.3"
10731-
resolved "https://registry.yarnpkg.com/vrsource-tslint-rules/-/vrsource-tslint-rules-5.8.3.tgz#b050f25e5967547a3c5e12539b4530d4d3f0d0e0"
10732-
integrity sha512-3tYS1zn+d9QtgmQIYmQ9e1i0kipmUjp6cvvYWLC+lZ3z8CQUle7rPKsTFMexOTIVXDpBt9JSJlhDWbwljl3DMQ==
10733-
1073410729
walkdir@^0.0.11:
1073510730
version "0.0.11"
1073610731
resolved "https://registry.yarnpkg.com/walkdir/-/walkdir-0.0.11.tgz#a16d025eb931bd03b52f308caed0f40fcebe9532"

0 commit comments

Comments
 (0)