From 48e431874a9970bbe9e61521c350ce0f22a7c362 Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Sat, 6 Apr 2024 22:01:56 +0200 Subject: [PATCH] chore: fixes --- index.js | 2 +- package-lock.json | 53 +++++++++++++++++++++++++++-------------------- package.json | 6 +++--- 3 files changed, 35 insertions(+), 26 deletions(-) diff --git a/index.js b/index.js index dd9470d..d9e73b2 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -import { neostandardSemi, neostandardTsOnlySemi } from '@voxpelli/neostandard'; +import { neostandardSemi, neostandardTsOnlySemi } from 'neostandard'; import { additionalRules } from './base-configs/additional-rules.js'; import { jsdocRules } from './base-configs/jsdoc.js'; diff --git a/package-lock.json b/package-lock.json index 9957a79..20c9b54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,18 +9,17 @@ "version": "19.0.0", "license": "MIT", "dependencies": { - "@types/node": "^18.19.30", - "@voxpelli/neostandard": "^0.0.0", "eslint": "^9.0.0", "eslint-plugin-es-x": "^7.6.0", "eslint-plugin-jsdoc": "^48.2.3", "eslint-plugin-n": "^17.0.0-6", "eslint-plugin-sort-destructure-keys": "^1.5.0", "eslint-plugin-unicorn": "^52.0.0", - "type-coverage": "^2.28.1" + "neostandard": "^0.1.0" }, "devDependencies": { "@types/eslint": "^8.40.2", + "@types/node": "^18.19.30", "@typescript-eslint/utils": "^7.5.0", "@voxpelli/tsconfig": "^11.0.0", "compare-eslint-configs": "^2.1.0", @@ -30,6 +29,7 @@ "knip": "^3.8.1", "npm-run-all2": "^6.1.2", "ts-ignore-import": "^3.0.0", + "type-coverage": "^2.28.1", "typescript": "~5.4.4", "validate-conventional-commit": "^1.0.3" }, @@ -837,6 +837,7 @@ "version": "18.19.30", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.30.tgz", "integrity": "sha512-453z1zPuJLVDbyahaa1sSD5C2sht6ZpHp5rgJNs+H8YGqhluCXcuOUmBYsAo0Tos0cHySJ3lVUGbGgLlqIkpyg==", + "dev": true, "dependencies": { "undici-types": "~5.26.4" } @@ -1051,22 +1052,6 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", "dev": true }, - "node_modules/@voxpelli/neostandard": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/@voxpelli/neostandard/-/neostandard-0.0.0.tgz", - "integrity": "sha512-xpoHN1zmUu5WXCyH+IzaEw4vUNbi/eGe9IOVSUIxyFKf/OinIkAkFyzUkjbd51ZSrrU2RCe6z64T7p2c8DP1JQ==", - "dependencies": { - "@typescript-eslint/eslint-plugin": "^7.5.0", - "@typescript-eslint/utils": "^7.5.0", - "eslint": "^9.0.0", - "eslint-plugin-n": "^17.0.0-6", - "globals": "^15.0.0", - "typescript-eslint": "^7.5.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/@voxpelli/semver-set": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@voxpelli/semver-set/-/semver-set-5.0.2.tgz", @@ -4309,6 +4294,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -4405,6 +4391,22 @@ "node": ">=10" } }, + "node_modules/neostandard": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/neostandard/-/neostandard-0.1.0.tgz", + "integrity": "sha512-oTG6nxNTTGdSoU9WJeoLMIBROC+NSU5AYSc07My9x0hQ6FewpfKiYg5Eteg6Z49/jNBKi6R6k9nUmPjD8eVSJQ==", + "dependencies": { + "@typescript-eslint/eslint-plugin": "^7.5.0", + "@typescript-eslint/utils": "^7.5.0", + "eslint": "^9.0.0", + "eslint-plugin-n": "^17.0.0-6", + "globals": "^15.0.0", + "typescript-eslint": "^7.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/node-fetch": { "version": "3.0.0-beta.9", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.0.0-beta.9.tgz", @@ -4446,6 +4448,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -6073,12 +6076,14 @@ "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true }, "node_modules/tsutils": { "version": "3.21.0", "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, "dependencies": { "tslib": "^1.8.1" }, @@ -6092,7 +6097,8 @@ "node_modules/tsutils/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true }, "node_modules/type-check": { "version": "0.4.0", @@ -6109,6 +6115,7 @@ "version": "2.28.1", "resolved": "https://registry.npmjs.org/type-coverage/-/type-coverage-2.28.1.tgz", "integrity": "sha512-nFpCkjyDPA+QeA0aRp3mVJ/XccounJ0Ls5IXVlCKI3XCQPzO3QFUl5zjFnmulw8hWe+r9u9EFjDsAxp8PnLMvQ==", + "dev": true, "dependencies": { "minimist": "1", "type-coverage-core": "^2.28.1" @@ -6121,6 +6128,7 @@ "version": "2.28.1", "resolved": "https://registry.npmjs.org/type-coverage-core/-/type-coverage-core-2.28.1.tgz", "integrity": "sha512-NniLJtLiDg0+dhrf/9ACGwi3OAhIfvd20f1CB0yxIUBMECwmJp7e7me3lM8djkrDBJtqSY+uXA6PRs+yv3HTnA==", + "dev": true, "dependencies": { "fast-glob": "3", "minimatch": "6 || 7 || 8 || 9", @@ -6182,7 +6190,8 @@ "node_modules/undici-types": { "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true }, "node_modules/unescape-js": { "version": "1.1.4", diff --git a/package.json b/package.json index ff456bb..11d64c9 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,8 @@ "test": "run-s check" }, "devDependencies": { - "@types/node": "^18.19.30", "@types/eslint": "^8.40.2", + "@types/node": "^18.19.30", "@typescript-eslint/utils": "^7.5.0", "@voxpelli/tsconfig": "^11.0.0", "compare-eslint-configs": "^2.1.0", @@ -60,12 +60,12 @@ "eslint": "^9.0.0" }, "dependencies": { - "@voxpelli/neostandard": "^0.0.0", "eslint": "^9.0.0", "eslint-plugin-es-x": "^7.6.0", "eslint-plugin-jsdoc": "^48.2.3", "eslint-plugin-n": "^17.0.0-6", "eslint-plugin-sort-destructure-keys": "^1.5.0", - "eslint-plugin-unicorn": "^52.0.0" + "eslint-plugin-unicorn": "^52.0.0", + "neostandard": "^0.1.0" } }