From 3d7d1e8c2beb9548c655bce9c7083b85463c2adf Mon Sep 17 00:00:00 2001 From: MapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Wed, 29 Dec 2021 14:00:38 -0600 Subject: [PATCH] eslint tweaks --- packages/docs/package.json | 9 ++++++++- packages/reacord/.eslintrc.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/docs/package.json b/packages/docs/package.json index 2bcd107..6a88a42 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -50,7 +50,14 @@ "ignorePatterns": [ "**/node_modules/**", "**/.vscode/**" - ] + ], + "parserOptions": { + "project": "./node_modules/@itsmapleleaf/tsconfig.base.json" + }, + "rules": { + "import/no-unused-modules": "off", + "unicorn/prevent-abbreviations": "off" + } }, "prettier": "@itsmapleleaf/configs/prettier" } diff --git a/packages/reacord/.eslintrc.json b/packages/reacord/.eslintrc.json index 4a9e12b..69fed6e 100644 --- a/packages/reacord/.eslintrc.json +++ b/packages/reacord/.eslintrc.json @@ -8,7 +8,7 @@ "**/docs/**" ], "parserOptions": { - "project": "./tsconfig.json" + "project": "./node_modules/@itsmapleleaf/tsconfig.base.json" }, "rules": { // this rule causes a bunch of error notifications to pop up when moving files around