Skip to content

Commit 0886e28

Browse files
chore: Update @typescript-eslint packages to v8 (#265)
1 parent 1c90fbf commit 0886e28

File tree

5 files changed

+64
-63
lines changed

5 files changed

+64
-63
lines changed

.eslintrc.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ const rulesBase = {
3636

3737
const typescriptRules = {
3838
...rulesBase,
39-
'@typescript-eslint/no-explicit-any': 'warn',
40-
'@typescript-eslint/no-empty-interface': 'off',
39+
'@typescript-eslint/no-empty-object-type': ['warn', { allowInterfaces: 'always' }],
4140
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
4241
'@typescript-eslint/array-type': ['warn', { default: 'array-simple' }],
4342
'@typescript-eslint/consistent-type-imports': ['warn', { fixStyle: 'inline-type-imports' }],

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Update `@typescript-eslint` packages to v8
13+
1014
## [1.0.42] - 2024-08-07
1115

1216
### Fixed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
"@types/luxon": "^3.4.2",
113113
"@types/react-dom": "^18.3.0",
114114
"@types/sanitize-html": "^2.9.0",
115-
"@typescript-eslint/eslint-plugin": "^7.18.0",
116-
"@typescript-eslint/parser": "^7.18.0",
115+
"@typescript-eslint/eslint-plugin": "^8.0.1",
116+
"@typescript-eslint/parser": "^8.0.1",
117117
"autoprefixer": "^10.4.20",
118118
"cross-env": "^7.0.3",
119119
"eslint": "^8.57.0",

src/core/utils/formatterUtils/formatterUtils.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { formatterUtils } from './formatterUtils';
33
import { DateFormat, NumberFormat } from './formatterUtilsDefinitions';
44

55
/* Using big values to fully test the formatter */
6-
/* eslint-disable @typescript-eslint/no-loss-of-precision */
6+
/* eslint-disable no-loss-of-precision */
77

88
describe('formatter utils', () => {
99
const originalNow = Settings.now;

yarn.lock

+56-58
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ __metadata:
9191
"@types/luxon": "npm:^3.4.2"
9292
"@types/react-dom": "npm:^18.3.0"
9393
"@types/sanitize-html": "npm:^2.9.0"
94-
"@typescript-eslint/eslint-plugin": "npm:^7.18.0"
95-
"@typescript-eslint/parser": "npm:^7.18.0"
94+
"@typescript-eslint/eslint-plugin": "npm:^8.0.1"
95+
"@typescript-eslint/parser": "npm:^8.0.1"
9696
autoprefixer: "npm:^10.4.20"
9797
blockies-ts: "npm:^1.0.0"
9898
classnames: "npm:^2.0.0"
@@ -5887,44 +5887,44 @@ __metadata:
58875887
languageName: node
58885888
linkType: hard
58895889

5890-
"@typescript-eslint/eslint-plugin@npm:^7.18.0":
5891-
version: 7.18.0
5892-
resolution: "@typescript-eslint/eslint-plugin@npm:7.18.0"
5890+
"@typescript-eslint/eslint-plugin@npm:^8.0.1":
5891+
version: 8.0.1
5892+
resolution: "@typescript-eslint/eslint-plugin@npm:8.0.1"
58935893
dependencies:
58945894
"@eslint-community/regexpp": "npm:^4.10.0"
5895-
"@typescript-eslint/scope-manager": "npm:7.18.0"
5896-
"@typescript-eslint/type-utils": "npm:7.18.0"
5897-
"@typescript-eslint/utils": "npm:7.18.0"
5898-
"@typescript-eslint/visitor-keys": "npm:7.18.0"
5895+
"@typescript-eslint/scope-manager": "npm:8.0.1"
5896+
"@typescript-eslint/type-utils": "npm:8.0.1"
5897+
"@typescript-eslint/utils": "npm:8.0.1"
5898+
"@typescript-eslint/visitor-keys": "npm:8.0.1"
58995899
graphemer: "npm:^1.4.0"
59005900
ignore: "npm:^5.3.1"
59015901
natural-compare: "npm:^1.4.0"
59025902
ts-api-utils: "npm:^1.3.0"
59035903
peerDependencies:
5904-
"@typescript-eslint/parser": ^7.0.0
5905-
eslint: ^8.56.0
5904+
"@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0
5905+
eslint: ^8.57.0 || ^9.0.0
59065906
peerDependenciesMeta:
59075907
typescript:
59085908
optional: true
5909-
checksum: 10c0/2b37948fa1b0dab77138909dabef242a4d49ab93e4019d4ef930626f0a7d96b03e696cd027fa0087881c20e73be7be77c942606b4a76fa599e6b37f6985304c3
5909+
checksum: 10c0/fd4e11599c4a85d0fbbd0be350f11acaa32d424bc5c2c0b672133266b4b56fc20a78edd0c7b803b4223a1a66736624561a60fee827738118550733d14afb775a
59105910
languageName: node
59115911
linkType: hard
59125912

5913-
"@typescript-eslint/parser@npm:^7.18.0":
5914-
version: 7.18.0
5915-
resolution: "@typescript-eslint/parser@npm:7.18.0"
5913+
"@typescript-eslint/parser@npm:^8.0.1":
5914+
version: 8.0.1
5915+
resolution: "@typescript-eslint/parser@npm:8.0.1"
59165916
dependencies:
5917-
"@typescript-eslint/scope-manager": "npm:7.18.0"
5918-
"@typescript-eslint/types": "npm:7.18.0"
5919-
"@typescript-eslint/typescript-estree": "npm:7.18.0"
5920-
"@typescript-eslint/visitor-keys": "npm:7.18.0"
5917+
"@typescript-eslint/scope-manager": "npm:8.0.1"
5918+
"@typescript-eslint/types": "npm:8.0.1"
5919+
"@typescript-eslint/typescript-estree": "npm:8.0.1"
5920+
"@typescript-eslint/visitor-keys": "npm:8.0.1"
59215921
debug: "npm:^4.3.4"
59225922
peerDependencies:
5923-
eslint: ^8.56.0
5923+
eslint: ^8.57.0 || ^9.0.0
59245924
peerDependenciesMeta:
59255925
typescript:
59265926
optional: true
5927-
checksum: 10c0/370e73fca4278091bc1b657f85e7d74cd52b24257ea20c927a8e17546107ce04fbf313fec99aed0cc2a145ddbae1d3b12e9cc2c1320117636dc1281bcfd08059
5927+
checksum: 10c0/bf93640f06c9d2e09a79d015d2c3303f58a8569a3f6928544feeeaad8825388133b5e44ca017b4480d38c037644cf6390c785129539fe256f55422ae608943b5
59285928
languageName: node
59295929
linkType: hard
59305930

@@ -5938,30 +5938,28 @@ __metadata:
59385938
languageName: node
59395939
linkType: hard
59405940

5941-
"@typescript-eslint/scope-manager@npm:7.18.0":
5942-
version: 7.18.0
5943-
resolution: "@typescript-eslint/scope-manager@npm:7.18.0"
5941+
"@typescript-eslint/scope-manager@npm:8.0.1":
5942+
version: 8.0.1
5943+
resolution: "@typescript-eslint/scope-manager@npm:8.0.1"
59445944
dependencies:
5945-
"@typescript-eslint/types": "npm:7.18.0"
5946-
"@typescript-eslint/visitor-keys": "npm:7.18.0"
5947-
checksum: 10c0/038cd58c2271de146b3a594afe2c99290034033326d57ff1f902976022c8b0138ffd3cb893ae439ae41003b5e4bcc00cabf6b244ce40e8668f9412cc96d97b8e
5945+
"@typescript-eslint/types": "npm:8.0.1"
5946+
"@typescript-eslint/visitor-keys": "npm:8.0.1"
5947+
checksum: 10c0/79c00bc726c0c14b800bbbc1c1b88978c2cbeb29d2b06b94a5773f959aafac5cfb37bdb8c3bb80b9fb07fd10440413fce9098f338dce100696a4d3dc1ea6b187
59485948
languageName: node
59495949
linkType: hard
59505950

5951-
"@typescript-eslint/type-utils@npm:7.18.0":
5952-
version: 7.18.0
5953-
resolution: "@typescript-eslint/type-utils@npm:7.18.0"
5951+
"@typescript-eslint/type-utils@npm:8.0.1":
5952+
version: 8.0.1
5953+
resolution: "@typescript-eslint/type-utils@npm:8.0.1"
59545954
dependencies:
5955-
"@typescript-eslint/typescript-estree": "npm:7.18.0"
5956-
"@typescript-eslint/utils": "npm:7.18.0"
5955+
"@typescript-eslint/typescript-estree": "npm:8.0.1"
5956+
"@typescript-eslint/utils": "npm:8.0.1"
59575957
debug: "npm:^4.3.4"
59585958
ts-api-utils: "npm:^1.3.0"
5959-
peerDependencies:
5960-
eslint: ^8.56.0
59615959
peerDependenciesMeta:
59625960
typescript:
59635961
optional: true
5964-
checksum: 10c0/ad92a38007be620f3f7036f10e234abdc2fdc518787b5a7227e55fd12896dacf56e8b34578723fbf9bea8128df2510ba8eb6739439a3879eda9519476d5783fd
5962+
checksum: 10c0/5cbf604044d5cd9cc6e95a2eee5a62803a09f46ccf4aa7293e373a4be8b7b57b470cbc97c1121ef354f842e7fc1d17b30c81bf3540023382ad5e339c9ca3ce15
59655963
languageName: node
59665964
linkType: hard
59675965

@@ -5972,10 +5970,10 @@ __metadata:
59725970
languageName: node
59735971
linkType: hard
59745972

5975-
"@typescript-eslint/types@npm:7.18.0":
5976-
version: 7.18.0
5977-
resolution: "@typescript-eslint/types@npm:7.18.0"
5978-
checksum: 10c0/eb7371ac55ca77db8e59ba0310b41a74523f17e06f485a0ef819491bc3dd8909bb930120ff7d30aaf54e888167e0005aa1337011f3663dc90fb19203ce478054
5973+
"@typescript-eslint/types@npm:8.0.1":
5974+
version: 8.0.1
5975+
resolution: "@typescript-eslint/types@npm:8.0.1"
5976+
checksum: 10c0/e7c02d4e153a935c04bfddc0c8fc1618b1c8e9767583cff05a0e063bbacb7f3c8fac2257879c41162fe19094a0de3a567b57969177b2a0c32f39accd4c5601d5
59795977
languageName: node
59805978
linkType: hard
59815979

@@ -5997,12 +5995,12 @@ __metadata:
59975995
languageName: node
59985996
linkType: hard
59995997

6000-
"@typescript-eslint/typescript-estree@npm:7.18.0":
6001-
version: 7.18.0
6002-
resolution: "@typescript-eslint/typescript-estree@npm:7.18.0"
5998+
"@typescript-eslint/typescript-estree@npm:8.0.1":
5999+
version: 8.0.1
6000+
resolution: "@typescript-eslint/typescript-estree@npm:8.0.1"
60036001
dependencies:
6004-
"@typescript-eslint/types": "npm:7.18.0"
6005-
"@typescript-eslint/visitor-keys": "npm:7.18.0"
6002+
"@typescript-eslint/types": "npm:8.0.1"
6003+
"@typescript-eslint/visitor-keys": "npm:8.0.1"
60066004
debug: "npm:^4.3.4"
60076005
globby: "npm:^11.1.0"
60086006
is-glob: "npm:^4.0.3"
@@ -6012,21 +6010,21 @@ __metadata:
60126010
peerDependenciesMeta:
60136011
typescript:
60146012
optional: true
6015-
checksum: 10c0/0c7f109a2e460ec8a1524339479cf78ff17814d23c83aa5112c77fb345e87b3642616291908dcddea1e671da63686403dfb712e4a4435104f92abdfddf9aba81
6013+
checksum: 10c0/12507995dc634a1746b581635e0df9f986ad01e7f0b4482f1f240986e7277ebd301dfe3b59c07da6d1f3d465f9110dc2a61ce50b67a8f31188cad13f7cc3632e
60166014
languageName: node
60176015
linkType: hard
60186016

6019-
"@typescript-eslint/utils@npm:7.18.0":
6020-
version: 7.18.0
6021-
resolution: "@typescript-eslint/utils@npm:7.18.0"
6017+
"@typescript-eslint/utils@npm:8.0.1":
6018+
version: 8.0.1
6019+
resolution: "@typescript-eslint/utils@npm:8.0.1"
60226020
dependencies:
60236021
"@eslint-community/eslint-utils": "npm:^4.4.0"
6024-
"@typescript-eslint/scope-manager": "npm:7.18.0"
6025-
"@typescript-eslint/types": "npm:7.18.0"
6026-
"@typescript-eslint/typescript-estree": "npm:7.18.0"
6022+
"@typescript-eslint/scope-manager": "npm:8.0.1"
6023+
"@typescript-eslint/types": "npm:8.0.1"
6024+
"@typescript-eslint/typescript-estree": "npm:8.0.1"
60276025
peerDependencies:
6028-
eslint: ^8.56.0
6029-
checksum: 10c0/a25a6d50eb45c514469a01ff01f215115a4725fb18401055a847ddf20d1b681409c4027f349033a95c4ff7138d28c3b0a70253dfe8262eb732df4b87c547bd1e
6026+
eslint: ^8.57.0 || ^9.0.0
6027+
checksum: 10c0/9ab4baee82ac74caee18fb687697698043385aea5d0ec4bb34d874a6969eaa3e48f9319ab023cbcb6114f86de17f7360a43460fb4159c61760a2d2984004dd21
60306028
languageName: node
60316029
linkType: hard
60326030

@@ -6058,13 +6056,13 @@ __metadata:
60586056
languageName: node
60596057
linkType: hard
60606058

6061-
"@typescript-eslint/visitor-keys@npm:7.18.0":
6062-
version: 7.18.0
6063-
resolution: "@typescript-eslint/visitor-keys@npm:7.18.0"
6059+
"@typescript-eslint/visitor-keys@npm:8.0.1":
6060+
version: 8.0.1
6061+
resolution: "@typescript-eslint/visitor-keys@npm:8.0.1"
60646062
dependencies:
6065-
"@typescript-eslint/types": "npm:7.18.0"
6063+
"@typescript-eslint/types": "npm:8.0.1"
60666064
eslint-visitor-keys: "npm:^3.4.3"
6067-
checksum: 10c0/538b645f8ff1d9debf264865c69a317074eaff0255e63d7407046176b0f6a6beba34a6c51d511f12444bae12a98c69891eb6f403c9f54c6c2e2849d1c1cb73c0
6065+
checksum: 10c0/64c12095a97808bb1e1f5709192b274cac58d6b8fbbf9ec8fafead30f7effef7f0232244ec759298d046e1cd43521b9f3ba37b80618d5184c8b22fae665a7068
60686066
languageName: node
60696067
linkType: hard
60706068

0 commit comments

Comments
 (0)