@html-validate/eslint-config 5.8.0 → 5.9.0

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/dist/cli.js CHANGED
@@ -14480,7 +14480,7 @@ var require_package = __commonJS({
14480
14480
  "package.json"(exports, module2) {
14481
14481
  module2.exports = {
14482
14482
  name: "@html-validate/eslint-config",
14483
- version: "5.7.3",
14483
+ version: "5.8.0",
14484
14484
  description: "Eslint sharable config used by the various HTML-validate packages",
14485
14485
  keywords: [
14486
14486
  "eslint"
@@ -14565,12 +14565,11 @@ async function renderPassthru(src) {
14565
14565
  }
14566
14566
  async function renderNunjucks(src, dst, features) {
14567
14567
  import_nunjucks.default.configure(import_path.default.dirname(src), { trimBlocks: true });
14568
- const overrides = Object.values(features).some(Boolean);
14569
14568
  const typeinfo = features.typeinfo ? {
14570
14569
  rootDir: import_path.default.dirname(features.typeinfo),
14571
14570
  tsconfig: `./${import_path.default.basename(features.typeinfo)}`
14572
14571
  } : false;
14573
- const context = { ...features, overrides, typeinfo };
14572
+ const context = { ...features, typeinfo };
14574
14573
  const result = import_nunjucks.default.render(import_path.default.basename(src), context);
14575
14574
  const prettierConfig = await import_prettier.default.resolveConfig(dst, {
14576
14575
  editorconfig: true
@@ -14716,8 +14715,8 @@ async function writeConfig(options, features) {
14716
14715
  await ensureFileExists(".eslintrc.cjs", options, features);
14717
14716
  }
14718
14717
  await ensureFileExists(".eslintignore", options, features);
14719
- await ensurePkgScript("eslint", "eslint .", options);
14720
- await ensurePkgScript("eslint:fix", "eslint --fix .", options);
14718
+ await ensurePkgScript("eslint", "eslint --cache .", options);
14719
+ await ensurePkgScript("eslint:fix", "eslint --cache --fix .", options);
14721
14720
  await ensureDependencyRemoved("eslint", options);
14722
14721
  await ensureDependencyExists("@html-validate/eslint-config", options);
14723
14722
  if (features.typeinfo) {