@genesislcap/eslint-stylelint-builder
v14.479.0
Published
ESLint/Stylelint builder
Readme
ESLint, Oxlint, Oxfmt & Stylelint builder
Builder used by genx lint. It runs ESLint, Prettier, and Stylelint by default (legacy pipeline). Use -l ox to opt in to the faster Oxlint → Oxfmt → Stylelint pipeline.
Default pipeline (genx lint / npm run lint)
Legacy (backward-compatible):
- ESLint —
eslint "./**/*.{ts,js,tsx,jsx}". - Prettier — via
eslint-plugin-prettier. - Stylelint —
*.styles.tsunder the current working directory.
Opt-in pipelines
-l ox— Oxlint → Oxfmt → Stylelint (fast; use for day-to-day local linting).-l ci— Oxlint → ESLint → Oxfmt → Stylelint (addsimport/no-extraneous-dependenciesvia ESLint; used in CI).-l eslint— ESLint only (use--profileforTIMING=1rule timings).- Other flags:
-l oxfmt,-l oxlint,-l stylelint.
Configs: @genesislcap/oxlint-config, root .oxfmtrc.json for Oxfmt, root eslint.config.mjs (flat config) for ESLint, and @genesislcap/stylelint-config for Stylelint.
Installation
To enable this module in your application, follow the steps below.
- Add
@genesislcap/eslint-stylelint-builderas a dependency in yourpackage.jsonfile. Whenever you change the dependencies of your project, ensure you run the$ npm run bootstrapcommand again. You can find more information in the package.json basics page.
{
...
"dependencies": {
...
"@genesislcap/eslint-stylelint-builder": "latest"
...
},
...
}API Docs
License
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact Genesis Global for more details.
Licensed components
Genesis low-code platform
