From 7334298e650eaf964a499d89a13715ce7e32d495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Bj=C3=B8rntvedt?= Date: Tue, 26 Dec 2023 09:45:35 +0100 Subject: [PATCH] eslint config --- .eslintrc.json | 4 ++-- package-lock.json | 35 ++++++++++++++++++----------------- package.json | 2 +- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 05852b5..5c0b70a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,5 @@ { - "extends": ["tfso/typescript", "prettier"], + "extends": ["@tfso/eslint-config/typescript", "prettier"], "env": { "mocha": true }, @@ -9,4 +9,4 @@ { "vars": "all", "args": "none", "ignoreRestSiblings": true } ] } -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 41284ab..2f1df8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "lodash.defaultsdeep": "4.6.1" }, "devDependencies": { + "@tfso/eslint-config": "^1.1.4", "@types/chai": "4.2.21", "@types/lodash.defaultsdeep": "4.6.6", "@types/mocha": "10.0.0", @@ -21,7 +22,6 @@ "chai": "4.3.4", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-config-tfso": "github:tfso/eslint-config-tfso", "mocha": "10.2.0", "nyc": "^15.1.0", "prettier": "^3.1.1", @@ -2768,6 +2768,23 @@ "dev": true, "peer": true }, + "node_modules/@tfso/eslint-config": { + "version": "1.1.4", + "resolved": "https://npm.pkg.github.com/download/@tfso/eslint-config/1.1.4/a7004f21da48a3d3f2111aed66dcc57255c4234a", + "integrity": "sha512-0i6KlWjmiscrKg9HCT5DivXw0tj+4JzblQHcY1Uh83o15PSXrU3Zv97J5caNLyyfUuO/6dmQPR186pq/TPGOYg==", + "dev": true, + "dependencies": { + "conventional-changelog-conventionalcommits": "^4.6.3" + }, + "optionalDependencies": { + "@typescript-eslint/eslint-plugin": "^2 || ^3 || ^4 || ^5", + "@typescript-eslint/parser": "^2 || ^3 || ^4 || ^5", + "eslint": "^6 || ^7 || ^8", + "eslint-config-react-app": "^5 || ^6 || ^7", + "eslint-plugin-react": "^7", + "typescript": "^3 || ^4" + } + }, "node_modules/@tsconfig/node10": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", @@ -4540,22 +4557,6 @@ "eslint": "^8.0.0" } }, - "node_modules/eslint-config-tfso": { - "version": "1.1.3", - "resolved": "git+ssh://git@github.com/tfso/eslint-config-tfso.git#bac98bfd9859ca48b34c71b848f092f2e6ee44b3", - "dev": true, - "dependencies": { - "conventional-changelog-conventionalcommits": "^4.6.3" - }, - "optionalDependencies": { - "@typescript-eslint/eslint-plugin": "^2 || ^3 || ^4 || ^5", - "@typescript-eslint/parser": "^2 || ^3 || ^4 || ^5", - "eslint": "^6 || ^7 || ^8", - "eslint-config-react-app": "^5 || ^6 || ^7", - "eslint-plugin-react": "^7", - "typescript": "^3 || ^4" - } - }, "node_modules/eslint-import-resolver-node": { "version": "0.3.9", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", diff --git a/package.json b/package.json index 2cb3377..adcaea6 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "lodash.defaultsdeep": "4.6.1" }, "devDependencies": { + "@tfso/eslint-config": "^1.1.4", "@types/chai": "4.2.21", "@types/lodash.defaultsdeep": "4.6.6", "@types/mocha": "10.0.0", @@ -29,7 +30,6 @@ "chai": "4.3.4", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-config-tfso": "github:tfso/eslint-config-tfso", "mocha": "10.2.0", "nyc": "^15.1.0", "prettier": "^3.1.1",