0.2.0 • Published 8 months ago

@apitree.cz/lint-staged-config v0.2.0

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

Lint-staged Config

NPM Version

Lint-staged configuration for ApiTree projects

Installation

pnpm add --save-dev @apitree.cz/lint-staged-config lint-staged

Usage

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';

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';