Skip to content

Commit

Permalink
Merge pull request #6039 from espoon-voltti/remove-eslint-compat
Browse files Browse the repository at this point in the history
Poistetaan turha eslint v8->v9 -yhteensopivuuskerros
  • Loading branch information
Gekkio authored Nov 27, 2024
2 parents bfd96c8 + d70284b commit 3af231f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 175 deletions.
5 changes: 2 additions & 3 deletions apigw/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: LGPL-2.1-or-later

import { fixupPluginRules } from '@eslint/compat'
import eslint from '@eslint/js'
import importPlugin from 'eslint-plugin-import'
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
Expand All @@ -25,11 +24,11 @@ export default [
...typescriptEslint.configs.disableTypeChecked
},
{
// Compatibility tricks for plugins that don't support ESLint v9 flat configs yet
plugins: {
import: fixupPluginRules(importPlugin)
import: importPlugin
}
},
importPlugin.flatConfigs.typescript,
{
rules: {
'@typescript-eslint/no-empty-object-type': [
Expand Down
1 change: 0 additions & 1 deletion apigw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"zod": "^3.23.0"
},
"devDependencies": {
"@eslint/compat": "^1.2.0",
"@eslint/js": "^9.15.0",
"@jest/globals": "^29.7.0",
"@types/cookie-parser": "^1.4.3",
Expand Down
178 changes: 7 additions & 171 deletions apigw/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -505,32 +505,13 @@ __metadata:
languageName: node
linkType: hard

"@eslint-community/regexpp@npm:^4.10.0":
version: 4.11.0
resolution: "@eslint-community/regexpp@npm:4.11.0"
checksum: 10/f053f371c281ba173fe6ee16dbc4fe544c84870d58035ccca08dba7f6ce1830d895ce3237a0db89ba37616524775dca82f1c502066b58e2d5712d7f87f5ba17c
languageName: node
linkType: hard

"@eslint-community/regexpp@npm:^4.12.1":
"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.12.1":
version: 4.12.1
resolution: "@eslint-community/regexpp@npm:4.12.1"
checksum: 10/c08f1dd7dd18fbb60bdd0d85820656d1374dd898af9be7f82cb00451313402a22d5e30569c150315b4385907cdbca78c22389b2a72ab78883b3173be317620cc
languageName: node
linkType: hard

"@eslint/compat@npm:^1.2.0":
version: 1.2.0
resolution: "@eslint/compat@npm:1.2.0"
peerDependencies:
eslint: ^9.10.0
peerDependenciesMeta:
eslint:
optional: true
checksum: 10/4896c417c1f197a6e9cc12592a661f0d91d73bdbb936785555c5bb81d2359a59fe90aac2422e7ce525e9dd5bb13227cbfec1263f9263591ccca200e9038057bf
languageName: node
linkType: hard

"@eslint/config-array@npm:^0.19.0":
version: 0.19.0
resolution: "@eslint/config-array@npm:0.19.0"
Expand Down Expand Up @@ -1461,16 +1442,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:>=13.7.0":
version: 22.5.0
resolution: "@types/node@npm:22.5.0"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10/89af3bd217b1559b645a9ed16d4ae3add75749814cbd8eefddd1b96003d1973afb1c8a2b23d69f3a8cc6c532e3aa185eaf5cc29a6e7c42c311a2aad4c99430ae
languageName: node
linkType: hard

"@types/node@npm:^22.9.0":
"@types/node@npm:*, @types/node@npm:>=13.7.0, @types/node@npm:^22.9.0":
version: 22.9.0
resolution: "@types/node@npm:22.9.0"
dependencies:
Expand Down Expand Up @@ -1729,15 +1701,6 @@ __metadata:
languageName: node
linkType: hard

"abort-controller@npm:^3.0.0":
version: 3.0.0
resolution: "abort-controller@npm:3.0.0"
dependencies:
event-target-shim: "npm:^5.0.0"
checksum: 10/ed84af329f1828327798229578b4fe03a4dd2596ba304083ebd2252666bdc1d7647d66d0b18704477e1f8aa315f055944aa6e859afebd341f12d0a53c37b4b40
languageName: node
linkType: hard

"accepts@npm:~1.3.8":
version: 1.3.8
resolution: "accepts@npm:1.3.8"
Expand Down Expand Up @@ -1773,16 +1736,7 @@ __metadata:
languageName: node
linkType: hard

"acorn@npm:^8.12.0, acorn@npm:^8.4.1, acorn@npm:^8.8.2":
version: 8.12.0
resolution: "acorn@npm:8.12.0"
bin:
acorn: bin/acorn
checksum: 10/550cc5033184eb98f7fbe2e9ddadd0f47f065734cc682f25db7a244f52314eb816801b64dec7174effd978045bd1754892731a90b1102b0ede9d17a15cfde138
languageName: node
linkType: hard

"acorn@npm:^8.14.0":
"acorn@npm:^8.14.0, acorn@npm:^8.4.1, acorn@npm:^8.8.2":
version: 8.14.0
resolution: "acorn@npm:8.14.0"
bin:
Expand Down Expand Up @@ -2133,13 +2087,6 @@ __metadata:
languageName: node
linkType: hard

"base64-js@npm:^1.3.1":
version: 1.5.1
resolution: "base64-js@npm:1.5.1"
checksum: 10/669632eb3745404c2f822a18fc3a0122d2f9a7a13f7fb8b5823ee19d1d2ff9ee5b52c53367176ea4ad093c332fd5ab4bd0ebae5a8e27917a4105a4cfc86b1005
languageName: node
linkType: hard

"basic-auth@npm:^2.0.1":
version: 2.0.1
resolution: "basic-auth@npm:2.0.1"
Expand Down Expand Up @@ -2250,16 +2197,6 @@ __metadata:
languageName: node
linkType: hard

"buffer@npm:^6.0.3":
version: 6.0.3
resolution: "buffer@npm:6.0.3"
dependencies:
base64-js: "npm:^1.3.1"
ieee754: "npm:^1.2.1"
checksum: 10/b6bc68237ebf29bdacae48ce60e5e28fc53ae886301f2ad9496618efac49427ed79096750033e7eab1897a4f26ae374ace49106a5758f38fb70c78c9fda2c3b1
languageName: node
linkType: hard

"bytes@npm:3.1.2":
version: 3.1.2
resolution: "bytes@npm:3.1.2"
Expand Down Expand Up @@ -2633,18 +2570,7 @@ __metadata:
languageName: node
linkType: hard

"cross-spawn@npm:^7.0.3":
version: 7.0.5
resolution: "cross-spawn@npm:7.0.5"
dependencies:
path-key: "npm:^3.1.0"
shebang-command: "npm:^2.0.0"
which: "npm:^2.0.1"
checksum: 10/c95062469d4bdbc1f099454d01c0e77177a3733012d41bf907a71eb8d22d2add43b5adf6a0a14ef4e7feaf804082714d6c262ef4557a1c480b86786c120d18e2
languageName: node
linkType: hard

"cross-spawn@npm:^7.0.5":
"cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5":
version: 7.0.6
resolution: "cross-spawn@npm:7.0.6"
dependencies:
Expand Down Expand Up @@ -3268,13 +3194,6 @@ __metadata:
languageName: node
linkType: hard

"eslint-visitor-keys@npm:^4.0.0":
version: 4.0.0
resolution: "eslint-visitor-keys@npm:4.0.0"
checksum: 10/c7617166e6291a15ce2982b5c4b9cdfb6409f5c14562712d12e2584480cdf18609694b21d7dad35b02df0fa2cd037505048ded54d2f405c64f600949564eb334
languageName: node
linkType: hard

"eslint-visitor-keys@npm:^4.2.0":
version: 4.2.0
resolution: "eslint-visitor-keys@npm:4.2.0"
Expand Down Expand Up @@ -3331,18 +3250,7 @@ __metadata:
languageName: node
linkType: hard

"espree@npm:^10.0.1":
version: 10.1.0
resolution: "espree@npm:10.1.0"
dependencies:
acorn: "npm:^8.12.0"
acorn-jsx: "npm:^5.3.2"
eslint-visitor-keys: "npm:^4.0.0"
checksum: 10/a673aa39a19a51763d92272f8f3772ae3d4b10624740bb72d5f273b631b43f1a5a32b385c1da6ae6bc10be05a5913bc4679ebd22a09c7b336a745204834806ea
languageName: node
linkType: hard

"espree@npm:^10.3.0":
"espree@npm:^10.0.1, espree@npm:^10.3.0":
version: 10.3.0
resolution: "espree@npm:10.3.0"
dependencies:
Expand Down Expand Up @@ -3406,7 +3314,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "evaka-api-gateways@workspace:."
dependencies:
"@eslint/compat": "npm:^1.2.0"
"@eslint/js": "npm:^9.15.0"
"@jest/globals": "npm:^29.7.0"
"@node-saml/node-saml": "npm:^5.0.0"
Expand Down Expand Up @@ -3477,20 +3384,6 @@ __metadata:
languageName: node
linkType: hard

"event-target-shim@npm:^5.0.0":
version: 5.0.1
resolution: "event-target-shim@npm:5.0.1"
checksum: 10/49ff46c3a7facbad3decb31f597063e761785d7fdb3920d4989d7b08c97a61c2f51183e2f3a03130c9088df88d4b489b1b79ab632219901f184f85158508f4c8
languageName: node
linkType: hard

"events@npm:^3.3.0":
version: 3.3.0
resolution: "events@npm:3.3.0"
checksum: 10/a3d47e285e28d324d7180f1e493961a2bbb4cad6412090e4dec114f4db1f5b560c7696ee8e758f55e23913ede856e3689cd3aa9ae13c56b5d8314cd3b3ddd1be
languageName: node
linkType: hard

"execa@npm:^5.0.0":
version: 5.1.1
resolution: "execa@npm:5.1.1"
Expand Down Expand Up @@ -4205,7 +4098,7 @@ __metadata:
languageName: node
linkType: hard

"ieee754@npm:^1.1.8, ieee754@npm:^1.2.1":
"ieee754@npm:^1.1.8":
version: 1.2.1
resolution: "ieee754@npm:1.2.1"
checksum: 10/d9f2557a59036f16c282aaeb107832dc957a93d73397d89bbad4eb1130560560eb695060145e8e6b3b498b15ab95510226649a0b8f52ae06583575419fe10fc4
Expand Down Expand Up @@ -6102,16 +5995,6 @@ __metadata:
languageName: node
linkType: hard

"pino-abstract-transport@npm:^1.2.0":
version: 1.2.0
resolution: "pino-abstract-transport@npm:1.2.0"
dependencies:
readable-stream: "npm:^4.0.0"
split2: "npm:^4.0.0"
checksum: 10/6ec1d19a7ff3347fd21576f744c31c3e38ca4463ae638818408f43698c936f96be6a0bc750af5f7c1ae81873183bfcb062b7a0d12dc159a1813ea900c388c693
languageName: node
linkType: hard

"pino-abstract-transport@npm:^2.0.0":
version: 2.0.0
resolution: "pino-abstract-transport@npm:2.0.0"
Expand Down Expand Up @@ -6163,28 +6046,7 @@ __metadata:
languageName: node
linkType: hard

"pino@npm:^9.0.0":
version: 9.4.0
resolution: "pino@npm:9.4.0"
dependencies:
atomic-sleep: "npm:^1.0.0"
fast-redact: "npm:^3.1.1"
on-exit-leak-free: "npm:^2.1.0"
pino-abstract-transport: "npm:^1.2.0"
pino-std-serializers: "npm:^7.0.0"
process-warning: "npm:^4.0.0"
quick-format-unescaped: "npm:^4.0.3"
real-require: "npm:^0.2.0"
safe-stable-stringify: "npm:^2.3.1"
sonic-boom: "npm:^4.0.1"
thread-stream: "npm:^3.0.0"
bin:
pino: bin.js
checksum: 10/1c730c216052bab277cab619da8fb9ef916fd29c7aee66e0a6e0c089cb41713df6a9071517755e3bef0ca3160629fd85d22c8f9d277e41ce332c91999e073146
languageName: node
linkType: hard

"pino@npm:^9.5.0":
"pino@npm:^9.0.0, pino@npm:^9.5.0":
version: 9.5.0
resolution: "pino@npm:9.5.0"
dependencies:
Expand Down Expand Up @@ -6278,13 +6140,6 @@ __metadata:
languageName: node
linkType: hard

"process@npm:^0.11.10":
version: 0.11.10
resolution: "process@npm:0.11.10"
checksum: 10/dbaa7e8d1d5cf375c36963ff43116772a989ef2bb47c9bdee20f38fd8fc061119cf38140631cf90c781aca4d3f0f0d2c834711952b728953f04fd7d238f59f5b
languageName: node
linkType: hard

"promise-inflight@npm:^1.0.1":
version: 1.0.1
resolution: "promise-inflight@npm:1.0.1"
Expand Down Expand Up @@ -6479,18 +6334,6 @@ __metadata:
languageName: node
linkType: hard

"readable-stream@npm:^4.0.0":
version: 4.3.0
resolution: "readable-stream@npm:4.3.0"
dependencies:
abort-controller: "npm:^3.0.0"
buffer: "npm:^6.0.3"
events: "npm:^3.3.0"
process: "npm:^0.11.10"
checksum: 10/deb1aacf0562f52a49923488bec540c2da651fc1a5e25ab5389cd7e2f8e071ba756a529ba30eac41cb4acd3c0ff3f99de0575de81b45dbcb5cceb4ecd21f88b4
languageName: node
linkType: hard

"readdirp@npm:~3.6.0":
version: 3.6.0
resolution: "readdirp@npm:3.6.0"
Expand Down Expand Up @@ -7506,13 +7349,6 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~6.19.2":
version: 6.19.6
resolution: "undici-types@npm:6.19.6"
checksum: 10/0ea9bc25762a86597d095b3772f6cec0bcabb796c339f7dfa2bd601c745a480289eb2939848dc285a56d4f94f50c475868160d8d6d3f54e823f1faf7ea9e9468
languageName: node
linkType: hard

"undici-types@npm:~6.19.8":
version: 6.19.8
resolution: "undici-types@npm:6.19.8"
Expand Down

0 comments on commit 3af231f

Please sign in to comment.