Skip to content

fix: migrate eslint configs from removed holocron export to bundles #136

Description

@iamnewton

Problem

All configs in this repo import holocron (and storybook, cypress) from the @theholocron/eslint-config root index:

import { cypress, holocron, storybook } from "@theholocron/eslint-config";

The root index only exports base, packageJson, and typescript. holocron is not exported from that entry point — this import resolves to undefined, meaning ESLint runs with no rules.

Fix

Migrate to the react-app bundle (which composes base + typescript + react + storybook + vitest + package-json) with cypress added via its subpath export:

import { reactApp } from "@theholocron/eslint-config/bundles/react-app";
import { cypress } from "@theholocron/eslint-config/cypress";

Also convert from .js to .ts config files to match the rest of the org.

Affected files

  • eslint.config.js (root)
  • packages/bootstrap/eslint.config.js
  • packages/display/eslint.config.js
  • packages/forms/eslint.config.js
  • packages/interaction/eslint.config.js
  • packages/page/eslint.config.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions