Skip to main content

Framework - Docusaurus

Exclude the Docusaurus .docusaurus build cache from ESLint so generated framework files never enter your lint reports.

Why Use This Preset?

  1. Ignores the .docusaurus cache directory so transient framework output does not trigger lint failures.
  2. Keeps your lint runs focused on hand-written content and components rather than regenerated artifacts.
  3. Slots into the environment/framework layer so it composes cleanly after your code style and language layers.

Usage

Spread fwDocusaurus in the environment/framework slot, after the language layer and before any tool layer.

eslint.config.ts
ts
import {
  dxCodeStyle,
  dxIgnore,
  fwDocusaurus,
  langTypescript,
} from '@cbnventures/nova/presets/eslint';

export default [
  ...dxIgnore,
  ...dxCodeStyle,
  ...langTypescript,
  ...fwDocusaurus,
];

What This Preset Configures

The preset registers no plugins or parsers and authors no rules. It contributes a single named ignore group that keeps the Docusaurus build cache out of every lint run.

Ignored files

PatternExcludes
./.docusaurus/**The Docusaurus build cache directory.