@its-tailtime/lint-staged-config
v1.0.3
Published
lint-staged shareable configs
Readme
lint-staged-config
lint-staged shareable configs.
Installation
Run the following command (this will also install dependencies):
pnpm add --save-dev @its-tailtime/lint-staged-configThen, create a lint-staged.config.js file at the root of your repository containing the following:
import config from '@its-tailtime/lint-staged-config';
export default config;(for repositories where the "type": "module" is not set in package.json, you'll need to use the extension .cjs)
Add the following to .npmrc:
public-hoist-pattern[] = lint-staged