From f8d59cf2ab0c8325bb60bb9c91f7279c1f23ecb3 Mon Sep 17 00:00:00 2001 From: sinedied Date: Tue, 25 Feb 2025 11:48:16 +0100 Subject: [PATCH] chore: update linter --- package-lock.json | 57 +++++++++++++++++++++++++++++------------------ package.json | 3 ++- 2 files changed, 37 insertions(+), 23 deletions(-) diff --git a/package-lock.json b/package-lock.json index 83f8064..72b8daf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "rimraf": "^6.0.1", "simple-git-hooks": "^2.9.0", "typescript": "^5.3.3", - "xo": "^0.59.3" + "xo": "^0.60.0" }, "engines": { "node": ">=20", @@ -5514,19 +5514,19 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "54.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-54.0.0.tgz", - "integrity": "sha512-XxYLRiYtAWiAjPv6z4JREby1TAE2byBC7wlh0V4vWDCpccOSU1KovWV//jqPXF6bq3WKxqX9rdjoRQ1EhdmNdQ==", + "version": "56.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-56.0.1.tgz", + "integrity": "sha512-FwVV0Uwf8XPfVnKSGpMg7NtlZh0G0gBarCaFcMUOoqPxXryxdYxTRRv4kH6B9TFCVIrjRXG+emcxIk2ayZilog==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.24.5", + "@babel/helper-validator-identifier": "^7.24.7", "@eslint-community/eslint-utils": "^4.4.0", - "@eslint/eslintrc": "^3.0.2", "ci-info": "^4.0.0", "clean-regexp": "^1.0.0", - "core-js-compat": "^3.37.0", - "esquery": "^1.5.0", + "core-js-compat": "^3.38.1", + "esquery": "^1.6.0", + "globals": "^15.9.0", "indent-string": "^4.0.0", "is-builtin-module": "^3.2.1", "jsesc": "^3.0.2", @@ -5534,7 +5534,7 @@ "read-pkg-up": "^7.0.1", "regexp-tree": "^0.1.27", "regjsparser": "^0.10.0", - "semver": "^7.6.1", + "semver": "^7.6.3", "strip-indent": "^3.0.0" }, "engines": { @@ -5547,6 +5547,19 @@ "eslint": ">=8.56.0" } }, + "node_modules/eslint-plugin-unicorn/node_modules/globals": { + "version": "15.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", + "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/eslint-rule-docs": { "version": "1.1.235", "resolved": "https://registry.npmjs.org/eslint-rule-docs/-/eslint-rule-docs-1.1.235.tgz", @@ -12294,13 +12307,13 @@ } }, "node_modules/xo": { - "version": "0.59.3", - "resolved": "https://registry.npmjs.org/xo/-/xo-0.59.3.tgz", - "integrity": "sha512-jjUplAF4kqNP22HIlgnW+Ej8/Z1utf4Mzw/dLsbOcSpnUgrEqcyaS/OhGFriFyEBbnWVkslnYgUHiDsb6lNiBQ==", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/xo/-/xo-0.60.0.tgz", + "integrity": "sha512-Il6Ap/bkYQm2CvocfiNY8yR52OospMdlxwbT2V/8KBRRCc+JKI1ARyFJpemuze9ZHBy/AAaDurjqWNj0C2DCYQ==", "dev": true, "license": "MIT", "dependencies": { - "@eslint/eslintrc": "^3.1.0", + "@eslint/eslintrc": "^3.2.0", "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.1", "arrify": "^3.0.0", @@ -12311,38 +12324,38 @@ "eslint-config-xo": "^0.45.0", "eslint-config-xo-typescript": "^5.0.0", "eslint-formatter-pretty": "^6.0.1", - "eslint-import-resolver-webpack": "^0.13.8", + "eslint-import-resolver-webpack": "^0.13.9", "eslint-plugin-ava": "^14.0.0", "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.9.0", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.14.0", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.4.0", - "eslint-plugin-unicorn": "^54.0.0", + "eslint-plugin-unicorn": "^56.0.1", "esm-utils": "^4.3.0", "find-cache-dir": "^5.0.0", "find-up-simple": "^1.0.0", "get-stdin": "^9.0.0", - "get-tsconfig": "^4.7.5", + "get-tsconfig": "^4.8.1", "globby": "^14.0.2", "imurmurhash": "^0.1.4", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash-es": "^4.17.21", "meow": "^13.2.0", - "micromatch": "^4.0.7", + "micromatch": "^4.0.8", "open-editor": "^5.0.0", - "prettier": "^3.3.3", + "prettier": "^3.4.2", "semver": "^7.6.3", "slash": "^5.1.0", "to-absolute-glob": "^3.0.0", - "typescript": "^5.5.3" + "typescript": "^5.7.2" }, "bin": { "xo": "cli.js" }, "engines": { - "node": ">=18" + "node": ">=18.18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" diff --git a/package.json b/package.json index f2dccb6..da1f117 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "rimraf": "^6.0.1", "simple-git-hooks": "^2.9.0", "typescript": "^5.3.3", - "xo": "^0.59.3" + "xo": "^0.60.0" }, "engines": { "node": ">=20", @@ -86,6 +86,7 @@ "import/extensions": "off", "n/prefer-global/process": "off", "no-new-func": "off", + "unicorn/prefer-global-this": "off", "unicorn/prefer-module": "off", "unicorn/no-new-array": "off", "unicorn/prevent-abbreviations": [