From f1d2eb133521b9830650ae01809d85c6302ff8f5 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 7 Mar 2022 14:49:13 +0000 Subject: [PATCH] chore: update to nuxt/eslint-config 8 (#3537) --- .eslintrc | 1 + package.json | 4 +- packages/nuxt3/src/meta/runtime/components.ts | 1 - yarn.lock | 119 ++++++++---------- 4 files changed, 52 insertions(+), 73 deletions(-) diff --git a/.eslintrc b/.eslintrc index ae8c279b6a..1f1318423f 100644 --- a/.eslintrc +++ b/.eslintrc @@ -13,6 +13,7 @@ ], "rules": { "no-console": "off", + "vue/multi-word-component-names": "off", "vue/one-component-per-file": "off", "vue/require-default-prop": "off", "jsdoc/require-jsdoc": "off", diff --git a/package.json b/package.json index 9fc8a7e927..25338704c9 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "devDependencies": { "@iconify-json/carbon": "^1.1.1", "@nuxt/ui": "^0.0.0-alpha.5", - "@nuxtjs/eslint-config": "^7.0.0", - "@nuxtjs/eslint-config-typescript": "^7.0.2", + "@nuxtjs/eslint-config": "^8.0.0", + "@nuxtjs/eslint-config-typescript": "^8.0.0", "@types/jsdom": "^16", "@types/node": "^16.11.26", "@types/object-hash": "^2", diff --git a/packages/nuxt3/src/meta/runtime/components.ts b/packages/nuxt3/src/meta/runtime/components.ts index c30c74c7b1..00b65527e9 100644 --- a/packages/nuxt3/src/meta/runtime/components.ts +++ b/packages/nuxt3/src/meta/runtime/components.ts @@ -153,7 +153,6 @@ export const Meta = defineComponent({ charset: String, content: String, httpEquiv: String, - key: String, name: String }, setup: setupForUseMeta(meta => ({ diff --git a/yarn.lock b/yarn.lock index 27290df7a3..9baf97152a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3621,35 +3621,34 @@ __metadata: languageName: node linkType: hard -"@nuxtjs/eslint-config-typescript@npm:^7.0.2": - version: 7.0.2 - resolution: "@nuxtjs/eslint-config-typescript@npm:7.0.2" +"@nuxtjs/eslint-config-typescript@npm:^8.0.0": + version: 8.0.0 + resolution: "@nuxtjs/eslint-config-typescript@npm:8.0.0" dependencies: - "@nuxtjs/eslint-config": 7.0.0 - "@typescript-eslint/eslint-plugin": ^5.1.0 - "@typescript-eslint/parser": ^5.1.0 + "@nuxtjs/eslint-config": 8.0.0 + "@typescript-eslint/eslint-plugin": ^5.4.0 + "@typescript-eslint/parser": ^5.4.0 eslint-import-resolver-typescript: ^2.5.0 peerDependencies: - eslint: ^8.1.0 - checksum: 352bd38cba31b1bb4d974a6e3ff306bff81cad27dad0f5f73e94e141c258f18aff4049d896f768b2fb92bf459341627d897b4962aead3eeea8557f52baed0377 + eslint: ^8.3.0 + checksum: 0aa5208018b5c89bad3f7033d4e1f8ea5c1f2d4206c40e57793c9f142d9be99cfba7d66952d549ec9408b78212e238db516326dd4752b6ed4c914c950c76bfb2 languageName: node linkType: hard -"@nuxtjs/eslint-config@npm:7.0.0, @nuxtjs/eslint-config@npm:^7.0.0": - version: 7.0.0 - resolution: "@nuxtjs/eslint-config@npm:7.0.0" +"@nuxtjs/eslint-config@npm:8.0.0, @nuxtjs/eslint-config@npm:^8.0.0": + version: 8.0.0 + resolution: "@nuxtjs/eslint-config@npm:8.0.0" dependencies: eslint-config-standard: ^16.0.3 - eslint-plugin-import: ^2.25.2 - eslint-plugin-jest: ^25.2.2 + eslint-plugin-import: ^2.25.3 + eslint-plugin-jest: ^25.3.0 eslint-plugin-node: ^11.1.0 eslint-plugin-promise: ^5.1.1 - eslint-plugin-standard: ^5.0.0 - eslint-plugin-unicorn: ^37.0.1 - eslint-plugin-vue: ^7.20.0 + eslint-plugin-unicorn: ^39.0.0 + eslint-plugin-vue: ^8.1.1 peerDependencies: - eslint: ^8.1.0 - checksum: 0b918ec601b2baf9f50a8a2928cac9735fc35fa8ea8caf434986858d1ab7550e96bf26cc4c619e1e41677acc292c0fdbc9c4381152b135b36eea90c51936225b + eslint: ^8.3.0 + checksum: af9edb0ec3d53abc0960d48089a9faaa7c35fd8884524ee0e7f206f94a87f3a23f10dd4d695478ab70c0f3497133e6144b547251141c3d883ae9233d05b732bd languageName: node linkType: hard @@ -4732,7 +4731,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.1.0": +"@typescript-eslint/eslint-plugin@npm:^5.4.0": version: 5.13.0 resolution: "@typescript-eslint/eslint-plugin@npm:5.13.0" dependencies: @@ -4766,7 +4765,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.1.0": +"@typescript-eslint/parser@npm:^5.4.0": version: 5.13.0 resolution: "@typescript-eslint/parser@npm:5.13.0" dependencies: @@ -5926,7 +5925,7 @@ __metadata: languageName: node linkType: hard -"acorn-jsx@npm:^5.2.0, acorn-jsx@npm:^5.3.1": +"acorn-jsx@npm:^5.3.1": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" peerDependencies: @@ -10011,7 +10010,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.25.2": +"eslint-plugin-import@npm:^2.25.3": version: 2.25.4 resolution: "eslint-plugin-import@npm:2.25.4" dependencies: @@ -10034,7 +10033,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jest@npm:^25.2.2": +"eslint-plugin-jest@npm:^25.3.0": version: 25.7.0 resolution: "eslint-plugin-jest@npm:25.7.0" dependencies: @@ -10094,18 +10093,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-standard@npm:^5.0.0": - version: 5.0.0 - resolution: "eslint-plugin-standard@npm:5.0.0" - peerDependencies: - eslint: ">=5.0.0" - checksum: 58f1aba8915560535604bdfe4bf96dd86cdf5507cb8cec69345b0fba4afccf2af513336ffff0be5492f087c45fc492f4cde422857f98b9e88b2f64e25bb9316c - languageName: node - linkType: hard - -"eslint-plugin-unicorn@npm:^37.0.1": - version: 37.0.1 - resolution: "eslint-plugin-unicorn@npm:37.0.1" +"eslint-plugin-unicorn@npm:^39.0.0": + version: 39.0.0 + resolution: "eslint-plugin-unicorn@npm:39.0.0" dependencies: "@babel/helper-validator-identifier": ^7.14.9 ci-info: ^3.2.0 @@ -10124,21 +10114,21 @@ __metadata: strip-indent: ^3.0.0 peerDependencies: eslint: ">=7.32.0" - checksum: 9c74b642150c765919fc925808791910a3e8ce642db4a5a38aa4c04e8b4899b8aed5fab4ae73947cf0ad0b4a783161e2389c9148ed30c73469a757ba8372c1cd + checksum: a20bee80f1a5a5e4a5984394ba8f9e1669f89f186e92af5eec6bf1f0d90afe3a578b1ed124667b33843a7cac6e0476a86bb1a4ccf8f3293b8d21ae427f4b5168 languageName: node linkType: hard -"eslint-plugin-vue@npm:^7.20.0": - version: 7.20.0 - resolution: "eslint-plugin-vue@npm:7.20.0" +"eslint-plugin-vue@npm:^8.1.1": + version: 8.5.0 + resolution: "eslint-plugin-vue@npm:8.5.0" dependencies: - eslint-utils: ^2.1.0 + eslint-utils: ^3.0.0 natural-compare: ^1.4.0 - semver: ^6.3.0 - vue-eslint-parser: ^7.10.0 + semver: ^7.3.5 + vue-eslint-parser: ^8.0.1 peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 - checksum: 7b724ed8317ce3621cfd94235a68af20ec355fca93092cc09ee73fbffcefa69e3c5202b8035aae8e7457df6924dfe713834ae46dee08acdd9316188c47933956 + checksum: 2edc956debe3bf22d0daab04b5d59609185799c76dc24ce0c899035ecf64de07a526accc96e8622bccd368b6848f185980e9d6e395d4d14068e89a77e0010119 languageName: node linkType: hard @@ -10162,7 +10152,7 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.1.1": +"eslint-scope@npm:^7.0.0, eslint-scope@npm:^7.1.1": version: 7.1.1 resolution: "eslint-scope@npm:7.1.1" dependencies: @@ -10187,7 +10177,7 @@ __metadata: languageName: node linkType: hard -"eslint-utils@npm:^2.0.0, eslint-utils@npm:^2.1.0": +"eslint-utils@npm:^2.0.0": version: 2.1.0 resolution: "eslint-utils@npm:2.1.0" dependencies: @@ -10221,7 +10211,7 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.3.0": +"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.1.0, eslint-visitor-keys@npm:^3.3.0": version: 3.3.0 resolution: "eslint-visitor-keys@npm:3.3.0" checksum: d59e68a7c5a6d0146526b0eec16ce87fbf97fe46b8281e0d41384224375c4e52f5ffb9e16d48f4ea50785cde93f766b0c898e31ab89978d88b0e1720fbfb7808 @@ -10273,18 +10263,7 @@ __metadata: languageName: node linkType: hard -"espree@npm:^6.2.1": - version: 6.2.1 - resolution: "espree@npm:6.2.1" - dependencies: - acorn: ^7.1.1 - acorn-jsx: ^5.2.0 - eslint-visitor-keys: ^1.1.0 - checksum: 99c508950b5b9f53d008d781d2abb7a4ef3496ea699306fb6eb737c7e513aa594644314364c50ec27abb220124c6851fff64a6b62c358479534369904849360b - languageName: node - linkType: hard - -"espree@npm:^9.3.1": +"espree@npm:^9.0.0, espree@npm:^9.3.1": version: 9.3.1 resolution: "espree@npm:9.3.1" dependencies: @@ -15377,8 +15356,8 @@ __metadata: dependencies: "@iconify-json/carbon": ^1.1.1 "@nuxt/ui": ^0.0.0-alpha.5 - "@nuxtjs/eslint-config": ^7.0.0 - "@nuxtjs/eslint-config-typescript": ^7.0.2 + "@nuxtjs/eslint-config": ^8.0.0 + "@nuxtjs/eslint-config-typescript": ^8.0.0 "@types/jsdom": ^16 "@types/node": ^16.11.26 "@types/object-hash": ^2 @@ -21807,20 +21786,20 @@ __metadata: languageName: node linkType: hard -"vue-eslint-parser@npm:^7.10.0": - version: 7.11.0 - resolution: "vue-eslint-parser@npm:7.11.0" +"vue-eslint-parser@npm:^8.0.1": + version: 8.3.0 + resolution: "vue-eslint-parser@npm:8.3.0" dependencies: - debug: ^4.1.1 - eslint-scope: ^5.1.1 - eslint-visitor-keys: ^1.1.0 - espree: ^6.2.1 + debug: ^4.3.2 + eslint-scope: ^7.0.0 + eslint-visitor-keys: ^3.1.0 + espree: ^9.0.0 esquery: ^1.4.0 lodash: ^4.17.21 - semver: ^6.3.0 + semver: ^7.3.5 peerDependencies: - eslint: ">=5.0.0" - checksum: 16d8bd31dacd9e5d3cd0fc82354c0cfdb42ee3d2e0c3aeda385b82aa48a59a440de3dc18521ea6535f4b00a54eb248d49a6ea2323fbae0d3c1afa0a00c63fe6c + eslint: ">=6.0.0" + checksum: 8cc751e9fc2bfba93664ad8945732ab1c97791f9123e703de8669b65670d1e01906d80436bf4932d7ee6fa6174ed4545e8abb059206c88f4bd71957ca6cf7ba8 languageName: node linkType: hard