diff --git a/package.json b/package.json index b2d04f6..7db58f8 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,11 @@ "dist" ], "eslintConfig": { - "extends": "." + "extends": "./src/index.js", + "parser": "@typescript-eslint/parser", + "parserOptions": { + "project": "./tsconfig.json" + } }, "release": { "branches": [ @@ -115,27 +119,27 @@ }, "scripts": { "clean": "aegir clean", - "lint": "aegir lint", + "lint": "eslint src", "dep-check": "aegir dep-check -i @typescript-eslint/eslint-plugin -i @typescript-eslint/parser", "test": "npm run test:node", "test:node": "aegir test -t node", "release": "aegir release" }, "dependencies": { - "@typescript-eslint/eslint-plugin": "^5.23.0", - "@typescript-eslint/parser": "^5.23.0", - "eslint-config-standard": "^17.0.0", - "eslint-config-standard-with-typescript": "^37.0.0", - "eslint-plugin-etc": "^2.0.2", - "eslint-plugin-import": "^2.18.0", - "eslint-plugin-jsdoc": "^46.4.4", - "eslint-plugin-no-only-tests": "^3.0.0", + "@typescript-eslint/eslint-plugin": "^7.5.0", + "@typescript-eslint/parser": "^7.5.0", + "eslint-config-love": "^47.0.0", + "eslint-config-standard": "^17.1.0", + "eslint-plugin-etc": "^2.0.3", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jsdoc": "^48.2.2", + "eslint-plugin-no-only-tests": "^3.1.0", "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^6.0.0" + "eslint-plugin-promise": "^6.1.1" }, "devDependencies": { - "aegir": "^42.2.2", - "eslint": "^8.15.0" + "aegir": "^42.2.5", + "eslint": "^8.57.0" }, "peerDependenciesMeta": { "typescript": { diff --git a/src/ts.js b/src/ts.js index 63354b9..b14c4e4 100644 --- a/src/ts.js +++ b/src/ts.js @@ -8,7 +8,7 @@ module.exports = { }, extends: [ './js.js', - 'standard-with-typescript' + 'love' ], plugins: [ 'etc' diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..d0f4f0d --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "aegir/src/config/tsconfig.aegir.json", + "include": ["src"] +}