@apitree.cz/lint-staged-config
v1.0.1
Published
Lint-staged configuration for ApiTree projects.
Readme
Lint-staged Config
Lint-staged configuration for ApiTree projects
Installation
pnpm add --save-dev @apitree.cz/lint-staged-config lint-stagedUsage
Monorepos
Install the package with lint-staged and create a lint-staged.config.js file in the root of your monorepo:
export { root as default } from '@apitree.cz/lint-staged-config';Then, create a lint-staged.config.js file in each workspace:
export { workspace as default } from '@apitree.cz/lint-staged-config';Note: The
libraryexport was previously recommended for workspaces with distributable packages but is now deprecated. Useworkspacefor all workspace configurations.
Single-package repos
Install the package and create a lint-staged.config.js file in the root of your project:
export { singlePackage as default } from '@apitree.cz/lint-staged-config';