From 4d3ec30e57ef4d71ff0799cfba98dd3273aaeff5 Mon Sep 17 00:00:00 2001 From: "Martin M." Date: Sun, 17 Nov 2024 20:33:40 +0100 Subject: [PATCH] Update @iobroker/eslint-config --- eslint.config.mjs | 10 ---------- package-lock.json | 14 +++++++------- package.json | 4 ++-- 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index bb92c83..a5aaffa 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -30,14 +30,4 @@ export default [ }, }, - { - rules: { - "@typescript-eslint/no-unused-vars": [ - "error", - { - "argsIgnorePattern": "^_", - } - ] - }, - }, ]; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 8833646..0543dd8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@alcalzone/release-script-plugin-license": "^3.7.0", "@alcalzone/release-script-plugin-manual-review": "^3.7.0", "@iobroker/adapter-dev": "^1.3.0", - "@iobroker/eslint-config": "^0.1.7", + "@iobroker/eslint-config": "^1.0.0", "@iobroker/testing": "^5.0.0", "@tsconfig/node14": "^14.1.2", "@types/chai": "^4.3.11", @@ -1125,9 +1125,9 @@ } }, "node_modules/@iobroker/eslint-config": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/@iobroker/eslint-config/-/eslint-config-0.1.7.tgz", - "integrity": "sha512-3/WJV/m7hntUYrTUijcNtG+U5GosVcQiHh3B1j93FxEVD6fq0BbleZ5viWp2dcKbDCTbrt+hXLVP422jLl+ODA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@iobroker/eslint-config/-/eslint-config-1.0.0.tgz", + "integrity": "sha512-84gqXXsmAFKjpb2iXOvhMRAR0qgLb5xaWATnuwD7GW029J7ofqweFpgdDb7JxJ6Jdtwk4J0kwz1jmp4FsqDETA==", "dev": true, "peerDependencies": { "@eslint/eslintrc": "^3.1.0", @@ -8220,9 +8220,9 @@ } }, "@iobroker/eslint-config": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/@iobroker/eslint-config/-/eslint-config-0.1.7.tgz", - "integrity": "sha512-3/WJV/m7hntUYrTUijcNtG+U5GosVcQiHh3B1j93FxEVD6fq0BbleZ5viWp2dcKbDCTbrt+hXLVP422jLl+ODA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@iobroker/eslint-config/-/eslint-config-1.0.0.tgz", + "integrity": "sha512-84gqXXsmAFKjpb2iXOvhMRAR0qgLb5xaWATnuwD7GW029J7ofqweFpgdDb7JxJ6Jdtwk4J0kwz1jmp4FsqDETA==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index 6e6a024..7da7bb1 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@alcalzone/release-script-plugin-license": "^3.7.0", "@alcalzone/release-script-plugin-manual-review": "^3.7.0", "@iobroker/adapter-dev": "^1.3.0", - "@iobroker/eslint-config": "^0.1.7", + "@iobroker/eslint-config": "^1.0.0", "@iobroker/testing": "^5.0.0", "@tsconfig/node14": "^14.1.2", "@types/chai": "^4.3.11", @@ -63,7 +63,7 @@ "test:integration": "mocha test/integration --exit", "test": "npm run test:js && npm run test:package", "check": "tsc --noEmit -p tsconfig.check.json", - "lint": "eslint .", + "lint": "eslint -c eslint.config.mjs .", "translate": "translate-adapter", "release": "release-script" },