diff --git a/package.json b/package.json index b87b5d7d3..8f9f87ae8 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "astro-eslint-parser": "^2.1.0", "eslint": "^10.6.0", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-astro": "^2.1.1", + "eslint-plugin-astro": "^3.0.0", "eslint-plugin-prettier": "^5.5.6", "favicons": "^7.3.0", "globals": "^17.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 438149e4c..b0819febb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -112,8 +112,8 @@ importers: specifier: ^10.1.8 version: 10.1.8(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0)) eslint-plugin-astro: - specifier: ^2.1.1 - version: 2.1.1(@typescript-eslint/parser@8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0) + specifier: ^3.0.0 + version: 3.1.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@typescript-eslint/parser@8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript-eslint@8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)) eslint-plugin-prettier: specifier: ^5.5.6 version: 5.5.6(eslint-config-prettier@10.1.8(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0)))(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(prettier@3.9.6) @@ -1593,6 +1593,10 @@ packages: resolution: {integrity: sha512-poUfd66bOTY59rQajtusj/+i6kaBc4pKXkBa2XHYjwBZyhWThS1sdlgxLrnmo7NQqLUpvhmEtkOONUBs9WIp9Q==} engines: {node: ^22.22.3 || ^24.16.0 || >=26.3.0} + astro-eslint-parser@3.1.0: + resolution: {integrity: sha512-lS5qlx401Q1ZUhQ44XQnM4uT2qI6hA0H+vstrd841xGVxunFOs0ut3DWJGYHK1l7mxRxQdDi1j53pfE7/AyGlA==} + engines: {node: ^22.22.3 || ^24.16.0 || >=26.3.0} + astro-loader-i18n@1.0.0: resolution: {integrity: sha512-tYY2dBTn9fEO82/WcT9FJbL9yOcn9cfXIP2+kPM5LdGLYv47Cl3IM/Mr6qnhbpCUY5pL1taG3NzI/6rX70lXnQ==} peerDependencies: @@ -1913,18 +1917,21 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-plugin-astro@2.1.1: - resolution: {integrity: sha512-oZwtjIfBOxOJT09exeGLQWy5o8/ATxY8RSq0548VMd0q7FqIVxoA5a46fRjnVLrj3pd3aP3/zkrGTuYPPo+iSw==} + eslint-plugin-astro@3.1.0: + resolution: {integrity: sha512-I+v3DNIVCPPQC91jZIevvp5eTdzOhZYQSL43PnmbHBcuaiLhusN7czT8AK2ISH53+sO3p8rzqiR81j7VJ2qDeg==} engines: {node: ^22.22.3 || ^24.16.0 || >=26.3.0} peerDependencies: '@typescript-eslint/parser': '>=8.61.0' eslint: '>=10.0.0' eslint-plugin-jsx-a11y: '>=6.10.2' + typescript-eslint: '>=8.61.0' peerDependenciesMeta: '@typescript-eslint/parser': optional: true eslint-plugin-jsx-a11y: optional: true + typescript-eslint: + optional: true eslint-plugin-prettier@5.5.6: resolution: {integrity: sha512-ifetmTcxWfz+4qRW3pH/ujdTq2jQIj59AxJMIN26K5avYgU8dxycUETQonWiW+wPrYXA0j3Try0l1CnwVQtDqQ==} @@ -5272,6 +5279,22 @@ snapshots: transitivePeerDependencies: - supports-color + astro-eslint-parser@3.1.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(supports-color@7.2.0): + dependencies: + '@astrojs/compiler-rs': 0.4.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3) + '@typescript-eslint/scope-manager': 8.68.0 + '@typescript-eslint/types': 8.68.0 + debug: 4.4.3(supports-color@7.2.0) + eslint-scope: 9.1.2 + eslint-visitor-keys: 5.0.1 + espree: 11.2.0 + semver: 7.8.5 + tinyglobby: 0.2.17 + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' + - supports-color + astro-loader-i18n@1.0.0(astro@7.2.7(@astrojs/markdown-remark@7.2.4(supports-color@7.2.0))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.3.0)(jiti@2.7.0)(yaml@2.9.0)): dependencies: astro: 7.2.7(@astrojs/markdown-remark@7.2.4(supports-color@7.2.0))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.3.0)(jiti@2.7.0)(yaml@2.9.0) @@ -5660,21 +5683,23 @@ snapshots: dependencies: eslint: 10.9.1(jiti@2.7.0)(supports-color@7.2.0) - eslint-plugin-astro@2.1.1(@typescript-eslint/parser@8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0): + eslint-plugin-astro@3.1.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@typescript-eslint/parser@8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript-eslint@8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)): dependencies: '@eslint-community/eslint-utils': 4.10.1(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0)) '@jridgewell/sourcemap-codec': 1.5.5 - '@typescript-eslint/types': 8.67.0 - astro-eslint-parser: 2.1.0(supports-color@7.2.0) + '@typescript-eslint/types': 8.68.0 + astro-eslint-parser: 3.1.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(supports-color@7.2.0) eslint: 10.9.1(jiti@2.7.0)(supports-color@7.2.0) espree: 11.2.0 globals: 17.11.0 - parse5: 8.0.1 postcss: 8.5.26 postcss-selector-parser: 7.1.5 optionalDependencies: '@typescript-eslint/parser': 8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + typescript-eslint: 8.68.0(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' - supports-color eslint-plugin-prettier@5.5.6(eslint-config-prettier@10.1.8(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0)))(eslint@10.9.1(jiti@2.7.0)(supports-color@7.2.0))(prettier@3.9.6):