@codedrifters/configulator 0.0.193 → 0.0.194

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -5868,12 +5868,24 @@ var AstroProject = class extends TypeScriptProject {
5868
5868
  });
5869
5869
  }
5870
5870
  this.addDeps(`astro@${astroVersion}`);
5871
- this.addDevDeps("@astrojs/check", "prettier-plugin-astro");
5871
+ this.addDevDeps(
5872
+ "@astrojs/check",
5873
+ "astro-eslint-parser",
5874
+ "eslint-plugin-astro",
5875
+ "prettier-plugin-astro"
5876
+ );
5872
5877
  const prettierConfig = this.tryFindObjectFile(".prettierrc.json");
5873
5878
  prettierConfig?.addOverride("plugins", ["prettier-plugin-astro"]);
5874
5879
  prettierConfig?.addOverride("overrides", [
5875
5880
  { files: "*.astro", options: { parser: "astro" } }
5876
5881
  ]);
5882
+ this.eslint?.addPlugins("astro");
5883
+ this.eslint?.addExtends("plugin:astro/recommended");
5884
+ this.eslint?.addOverride({
5885
+ files: ["*.astro"],
5886
+ parser: "astro-eslint-parser"
5887
+ });
5888
+ this.eslint?.addLintPattern("src/**/*.astro");
5877
5889
  this.gitignore.addPatterns(".astro", ".vercel", ".netlify");
5878
5890
  const turbo = TurboRepo.of(this);
5879
5891
  if (turbo?.compileTask) {