From 7e0a1371e4114100905f7cb95bf7a6e2f809f60c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 08:38:29 +0000 Subject: [PATCH] fix(deps): update dependency eslint-config-xo to ^0.46.0 ##### [v0.46.0](https://github.com/xojs/eslint-config-xo/releases/tag/v0.46.0) ##### New rules - [`@stylistic/indent-binary-ops`](https://eslint.style/rules/plus/indent-binary-ops) [`d91defd`](https://github.com/xojs/eslint-config-xo/commit/d91defd) - [`@stylistic/function-paren-newline`](https://eslint.style/rules/js/function-paren-newline) [`fb5e204`](https://github.com/xojs/eslint-config-xo/commit/fb5e204) - [`@stylistic/block-spacing`](https://eslint.style/rules/js/block-spacing) [`cb6b443`](https://github.com/xojs/eslint-config-xo/commit/cb6b443) - [`@stylistic/multiline-ternary`](https://eslint.style/rules/js/multiline-ternary) [`3dea281`](https://github.com/xojs/eslint-config-xo/commit/3dea281) ##### Breaking - Require Node.js 18.18 - Migrate to flat config and require ESLint 9 ([#86](https://github.com/xojs/eslint-config-xo/issues/86)) [`ec210f2`](https://github.com/xojs/eslint-config-xo/commit/ec210f2) - Migrate config: https://eslint.org/docs/latest/use/configure/migration-guide ##### Improvements - Migrate deprecated rules to [`@stylistic`](https://eslint.style) [`0f81063`](https://github.com/xojs/eslint-config-xo/commit/0f81063) - Enable permissive `max-len` and `max-lines` as warning ([#84](https://github.com/xojs/eslint-config-xo/issues/84)) [`e669d26`](https://github.com/xojs/eslint-config-xo/commit/e669d26) - Revert "Add option to `no-extra-boolean-cast`" ([#87](https://github.com/xojs/eslint-config-xo/issues/87)) [`f010b63`](https://github.com/xojs/eslint-config-xo/commit/f010b63) - Add option to `no-extra-boolean-cast` [`a6dc171`](https://github.com/xojs/eslint-config-xo/commit/a6dc171) ##### [v0.45.0](https://github.com/xojs/eslint-config-xo/releases/tag/v0.45.0) - Allow class fields with no blank lines between ([#85](https://github.com/xojs/eslint-config-xo/issues/85)) [`6f2ff13`](https://github.com/xojs/eslint-config-xo/commit/6f2ff13) ##### [v0.44.0](https://github.com/xojs/eslint-config-xo/releases/tag/v0.44.0) ##### Breaking - Require Node.js 18 [`f2060de`](https://github.com/xojs/eslint-config-xo/commit/f2060de) ##### New rules - [`logical-assignment-operators`](https://eslint.org/docs/latest/rules/logical-assignment-operators) [`27049c1`](https://github.com/xojs/eslint-config-xo/commit/27049c1) - [`prefer-object-has-own`](https://eslint.org/docs/latest/rules/prefer-object-has-own) [`288a3ca`](https://github.com/xojs/eslint-config-xo/commit/288a3ca) - [`object-curly-newline`](https://eslint.org/docs/latest/rules/object-curly-newline) ([#83](https://github.com/xojs/eslint-config-xo/issues/83)) [`3a5448b`](https://github.com/xojs/eslint-config-xo/commit/3a5448b) ##### Improvements - Ban `atob` and `btoa` [`dfa969c`](https://github.com/xojs/eslint-config-xo/commit/dfa969c) - Replace deprecated `no-new-object` rule [`7f8f92e`](https://github.com/xojs/eslint-config-xo/commit/7f8f92e) - `no-unused-vars`: Allow ignoring variables by prefixing with underscore [`b31ab8a`](https://github.com/xojs/eslint-config-xo/commit/b31ab8a) --- package.json | 2 +- pnpm-lock.yaml | 133 ++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 127 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 8582e67..21fb491 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@typescript-eslint/eslint-plugin": "^7.0.1", "@typescript-eslint/parser": "^7.0.1", "eslint-config-prettier": "^9.1.0", - "eslint-config-xo": "^0.43.1", + "eslint-config-xo": "^0.46.0", "eslint-config-xo-react": "^0.27.0", "eslint-config-xo-typescript": "^1.0.1", "eslint-plugin-codegen": "0.28.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a549ec7..ee50be0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: ^9.1.0 version: 9.1.0(eslint@8.57.0) eslint-config-xo: - specifier: ^0.43.1 - version: 0.43.1(eslint@8.57.0) + specifier: ^0.46.0 + version: 0.46.0(eslint@8.57.0)(typescript@5.5.4) eslint-config-xo-react: specifier: ^0.27.0 version: 0.27.0(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.33.2(eslint@8.57.0))(eslint@8.57.0) @@ -861,6 +861,35 @@ packages: resolution: {integrity: sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==} engines: {node: '>=14.16'} + '@stylistic/eslint-plugin-js@2.6.4': + resolution: {integrity: sha512-kx1hS3xTvzxZLdr/DCU/dLBE++vcP97sHeEFX2QXhk1Ipa4K1rzPOLw1HCbf4mU3s+7kHP5eYpDe+QteEOFLug==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@stylistic/eslint-plugin-jsx@2.6.4': + resolution: {integrity: sha512-bIvVhdtjmyu3S10V7QRIuawtCZSq9gRmzAX23ucjCOdSFzEwlq+di0IM0riBAvvQerrJL4SM6G3xgyPs8BSXIA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@stylistic/eslint-plugin-plus@2.6.4': + resolution: {integrity: sha512-EuRvtxhf7Hv8OoMIePulP/6rBJIgPTu1l5GAm1780WcF1Cl8bOZXIn84Pdac5pNv6lVlzCOFm8MD3VE+2YROuA==} + peerDependencies: + eslint: '*' + + '@stylistic/eslint-plugin-ts@2.6.4': + resolution: {integrity: sha512-yxL8Hj6WkObw1jfiLpBzKy5yfxY6vwlwO4miq34ySErUjUecPV5jxfVbOe4q1QDPKemQGPq93v7sAQS5PzM8lA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@stylistic/eslint-plugin@2.6.4': + resolution: {integrity: sha512-euUGnjzH8EOqEYTGk9dB2OBINp0FX1nuO7/k4fO82zNRBIKZgJoDwTLM4Ce+Om6W1Qmh1PrZjCr4jh4tMEXGPQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + '@szmarczak/http-timer@5.0.1': resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==} engines: {node: '>=14.16'} @@ -871,6 +900,9 @@ packages: '@types/eslint@8.56.11': resolution: {integrity: sha512-sVBpJMf7UPo/wGecYOpk2aQya2VUGeHhe38WG7/mN5FufNSubf5VT9Uh9Uyp8/eLJpu1/tuhJ/qTo4mhSB4V4Q==} + '@types/eslint@9.6.0': + resolution: {integrity: sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==} + '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} @@ -1885,11 +1917,11 @@ packages: eslint: '>=8.0.0' typescript: '>=4.7' - eslint-config-xo@0.43.1: - resolution: {integrity: sha512-azv1L2PysRA0NkZOgbndUpN+581L7wPqkgJOgxxw3hxwXAbJgD6Hqb/SjHRiACifXt/AvxCzE/jIKFAlI7XjvQ==} - engines: {node: '>=12'} + eslint-config-xo@0.46.0: + resolution: {integrity: sha512-mjQUhdTCLQwHUFKf1hhSx1FFhm2jllr4uG2KjaW7gZHGAbjKoSypvo1eQvFk17lHx3bztYjZDDXQmkAZyaSlAg==} + engines: {node: '>=18.18'} peerDependencies: - eslint: '>=8.27.0' + eslint: '>=9.8.0' eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} @@ -1995,11 +2027,19 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.0.0: + resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true + espree@10.1.0: + resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2225,6 +2265,10 @@ packages: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} + globals@15.9.0: + resolution: {integrity: sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==} + engines: {node: '>=18'} + globalthis@1.0.3: resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} engines: {node: '>= 0.4'} @@ -3198,6 +3242,10 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + pkg-dir@4.2.0: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} @@ -4682,6 +4730,51 @@ snapshots: '@sindresorhus/is@5.6.0': {} + '@stylistic/eslint-plugin-js@2.6.4(eslint@8.57.0)': + dependencies: + '@types/eslint': 9.6.0 + acorn: 8.12.1 + eslint: 8.57.0 + eslint-visitor-keys: 4.0.0 + espree: 10.1.0 + + '@stylistic/eslint-plugin-jsx@2.6.4(eslint@8.57.0)': + dependencies: + '@stylistic/eslint-plugin-js': 2.6.4(eslint@8.57.0) + '@types/eslint': 9.6.0 + eslint: 8.57.0 + eslint-visitor-keys: 4.0.0 + espree: 10.1.0 + estraverse: 5.3.0 + picomatch: 4.0.2 + + '@stylistic/eslint-plugin-plus@2.6.4(eslint@8.57.0)': + dependencies: + '@types/eslint': 9.6.0 + eslint: 8.57.0 + + '@stylistic/eslint-plugin-ts@2.6.4(eslint@8.57.0)(typescript@5.5.4)': + dependencies: + '@stylistic/eslint-plugin-js': 2.6.4(eslint@8.57.0) + '@types/eslint': 9.6.0 + '@typescript-eslint/utils': 8.1.0(eslint@8.57.0)(typescript@5.5.4) + eslint: 8.57.0 + transitivePeerDependencies: + - supports-color + - typescript + + '@stylistic/eslint-plugin@2.6.4(eslint@8.57.0)(typescript@5.5.4)': + dependencies: + '@stylistic/eslint-plugin-js': 2.6.4(eslint@8.57.0) + '@stylistic/eslint-plugin-jsx': 2.6.4(eslint@8.57.0) + '@stylistic/eslint-plugin-plus': 2.6.4(eslint@8.57.0) + '@stylistic/eslint-plugin-ts': 2.6.4(eslint@8.57.0)(typescript@5.5.4) + '@types/eslint': 9.6.0 + eslint: 8.57.0 + transitivePeerDependencies: + - supports-color + - typescript + '@szmarczak/http-timer@5.0.1': dependencies: defer-to-connect: 2.0.1 @@ -4693,6 +4786,11 @@ snapshots: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 + '@types/eslint@9.6.0': + dependencies: + '@types/estree': 1.0.5 + '@types/json-schema': 7.0.15 + '@types/estree@1.0.5': {} '@types/glob@7.1.3': @@ -5219,6 +5317,10 @@ snapshots: dependencies: acorn: 8.11.3 + acorn-jsx@5.3.2(acorn@8.12.1): + dependencies: + acorn: 8.12.1 + acorn-walk@8.3.3: dependencies: acorn: 8.12.1 @@ -5902,10 +6004,15 @@ snapshots: eslint: 8.57.0 typescript: 5.5.4 - eslint-config-xo@0.43.1(eslint@8.57.0): + eslint-config-xo@0.46.0(eslint@8.57.0)(typescript@5.5.4): dependencies: + '@stylistic/eslint-plugin': 2.6.4(eslint@8.57.0)(typescript@5.5.4) confusing-browser-globals: 1.0.11 eslint: 8.57.0 + globals: 15.9.0 + transitivePeerDependencies: + - supports-color + - typescript eslint-import-resolver-node@0.3.9: dependencies: @@ -6087,6 +6194,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.0.0: {} + eslint@8.57.0: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) @@ -6130,6 +6239,12 @@ snapshots: transitivePeerDependencies: - supports-color + espree@10.1.0: + dependencies: + acorn: 8.12.1 + acorn-jsx: 5.3.2(acorn@8.12.1) + eslint-visitor-keys: 4.0.0 + espree@9.6.1: dependencies: acorn: 8.11.3 @@ -6375,6 +6490,8 @@ snapshots: globals@14.0.0: {} + globals@15.9.0: {} + globalthis@1.0.3: dependencies: define-properties: 1.2.1 @@ -7402,6 +7519,8 @@ snapshots: picomatch@2.3.1: {} + picomatch@4.0.2: {} + pkg-dir@4.2.0: dependencies: find-up: 4.1.0