Skip to content

Commit abbc0a5

Browse files
committed
UPDATE lint
1 parent 27a2d5b commit abbc0a5

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
// overrides
147147
// TODO: remove these rules one by one
148148
// to be better aligned with the recommended settings
149+
"@typescript-eslint/no-unsafe-argument": "off",
149150
"@typescript-eslint/no-explicit-any": "off",
150151
"@typescript-eslint/no-unsafe-member-access": "off",
151152
"@typescript-eslint/no-unsafe-call": "off",

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@
428428
"@types/node": "18.11.18",
429429
"@types/request": "2.48.8",
430430
"@types/request-promise-native": "1.0.18",
431-
"@typescript-eslint/eslint-plugin": "4.33.0",
432-
"@typescript-eslint/parser": "4.33.0",
431+
"@typescript-eslint/eslint-plugin": "5.48.0",
432+
"@typescript-eslint/parser": "5.48.0",
433433
"assert": "2.0.0",
434434
"async-test-util": "2.0.0",
435435
"babel-loader": "9.1.2",
@@ -446,7 +446,7 @@
446446
"dependency-check": "4.1.0",
447447
"detect-browser": "5.3.0",
448448
"disc": "1.3.3",
449-
"eslint": "7.32.0",
449+
"eslint": "8.31.0",
450450
"eslint-plugin-import": "2.26.0",
451451
"eslint-plugin-jsdoc": "39.6.4",
452452
"exists-file": "3.0.2",
@@ -506,4 +506,4 @@
506506
"webpack-dev-server": "4.11.1",
507507
"wrtc": "0.4.7"
508508
}
509-
}
509+
}

test/unit/query-builder.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ config.parallel('query-builder.test.js', () => {
8585
const startQuery: MangoQuery = {
8686
selector: {
8787
age: {
88-
$gt: -9999999999999999999999999999
88+
$gt: -999999999999999
8989
}
9090
},
9191
sort: [{ age: 'asc' }]
@@ -99,7 +99,7 @@ config.parallel('query-builder.test.js', () => {
9999
const builder2 = createQueryBuilder();
100100
builder2
101101
.where('age')
102-
.gt(-9999999999999999999999999999)
102+
.gt(-999999999999999)
103103
.sort('age');
104104
const builtJson = builder2.toJSON();
105105
assert.deepStrictEqual(startQuery, builtJson.query);

test/unit/rx-schema.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ config.parallel('rx-schema.test.js', () => {
820820
const query = cols.items.find({
821821
selector: {
822822
'fileInfo.watch.time': {
823-
$gt: -9999999999999999999999999999
823+
$gt: -999999999999999
824824
}
825825
},
826826
sort: [

0 commit comments

Comments
 (0)