Skip to content

Commit caac92b

Browse files
better-salmonwmertens
authored andcommitted
chore(eslint-plugin-qwik): add peer dependency for ESLint and update validate-cli to include ESLint
1 parent 5d6ad1c commit caac92b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/eslint-plugin-qwik/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
],
3131
"license": "MIT",
3232
"main": "dist/index.js",
33+
"peerDependencies": {
34+
"eslint": "^8.57.0 || ^9.0.0"
35+
},
3336
"repository": {
3437
"type": "git",
3538
"url": "https://github.com/QwikDev/qwik.git",

scripts/validate-cli.ts

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ async function validateStarter(
8888
appPkgJson.devDependencies['@builder.io/qwik'] = 'latest';
8989
appPkgJson.devDependencies['@builder.io/qwik-city'] = 'latest';
9090
appPkgJson.devDependencies['eslint-plugin-qwik'] = 'latest';
91+
appPkgJson.devDependencies['eslint'] = 'latest';
9192
writeFileSync(appPkgJsonPath, JSON.stringify(appPkgJson, null, 2));
9293

9394
const tsconfigPath = join(result.outDir, 'tsconfig.json');

0 commit comments

Comments
 (0)