Skip to content

Commit 87aeb40

Browse files
committed
chore(eslint): hoist all eslint deps to monorepo root so that vscode integration can resolve them
1 parent b471eba commit 87aeb40

File tree

2 files changed

+332
-778
lines changed

2 files changed

+332
-778
lines changed

configs/eslint-config-compass/bin/eslint.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@ const eslintBinPath = path.resolve(
66
path.dirname(require.resolve('eslint/package.json')),
77
eslintPkgJson.bin.eslint
88
);
9-
const sharedEslintConfigPath = path.resolve(__dirname, '..');
10-
if (!process.argv.includes('--resolve-plugins-relative-to')) {
11-
process.argv.push('--resolve-plugins-relative-to', sharedEslintConfigPath);
12-
}
139
require(eslintBinPath);

0 commit comments

Comments
 (0)