From 49da6b1139ec0bd014363f7b64de5ceadb4a342b Mon Sep 17 00:00:00 2001 From: waldronmatt Date: Tue, 12 Sep 2023 20:13:32 -0400 Subject: [PATCH] fix(workspace): add back eslint-config-custom to root, update deps --- .eslintrc.cjs | 12 +----------- package.json | 1 + pnpm-lock.yaml | 3 +++ 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 0c24d7fe..3ba3399a 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,17 +1,7 @@ module.exports = { root: true, - env: { - node: true, - es2020: true, - }, - extends: ['eslint:recommended', 'plugin:import/recommended', 'airbnb-base'], + extends: ['custom/js.cjs'], rules: { - 'import/no-extraneous-dependencies': [ - 'error', - { - devDependencies: true, - }, - ], 'linebreak-style': 0, }, ignorePatterns: ['apps/**', 'packages/**'], diff --git a/package.json b/package.json index 59f5252f..b0eebcde 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "commitizen": "^4.3.0", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.49.0", + "eslint-config-custom": "workspace:^", "husky": "^8.0.3", "lint-staged": "^13.3.0", "npm-run-all": "^4.1.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce1b3820..4fb2dbd2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -47,6 +47,9 @@ importers: eslint: specifier: ^8.49.0 version: 8.49.0 + eslint-config-custom: + specifier: workspace:^ + version: link:configs/eslint-config-custom husky: specifier: ^8.0.3 version: 8.0.3