Skip to content

Commit d767563

Browse files
authored
update typescript-eslint/eslint-plugin to 8.46.4 (#7700)
1 parent 71f3a0f commit d767563

File tree

11 files changed

+194
-189
lines changed

11 files changed

+194
-189
lines changed

modules/web/.eslintrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ extends:
2727
plugins:
2828
- rxjs
2929
rules:
30+
"@typescript-eslint/no-empty-object-type": off
3031
"@typescript-eslint/ban-ts-comment": off
3132
"@typescript-eslint/no-namespace": off
3233
"@typescript-eslint/no-unused-vars": off
@@ -40,6 +41,10 @@ rules:
4041
ignoreArrayIndexes: true
4142
ignoreReadonlyClassProperties: true
4243
ignoreEnums: true
44+
"@typescript-eslint/no-unused-expressions":
45+
- error
46+
- allowShortCircuit: true
47+
allowTernary: true
4348
node/no-unpublished-import: off
4449
node/no-extraneous-require: error
4550
node/no-unpublished-require: error

modules/web/cypress/utils/monitor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ export class TrafficMonitor {
134134

135135
switch (response.objMatchRule) {
136136
case MatchRule.EVERY:
137-
expect(objArr.every(obj => response.properties.check(obj))).to.be.true;
137+
expect(objArr.every(obj => response.properties.check(obj))).to.equal(true);
138138
break;
139139
case MatchRule.SOME:
140-
expect(objArr.some(obj => response.properties.check(obj))).to.be.true;
140+
expect(objArr.some(obj => response.properties.check(obj))).to.equal(true);
141141
break;
142142
}
143143

0 commit comments

Comments
 (0)