My lint-staged configuration for any projects
Install this package and its peer dependencies:
npm install --save-dev \
@kurone-kito/lint-staged-config \
cspell \
eslint \
eslint-formatter-codeframe \
lint-staged \
prettier
Then, create a .lintstagedrc.mjs
file.
If exists, merge the following configuration into it:
export { default } from '@kurone-kito/lint-staged-config/.lintstagedrc.json' assert { type: 'json' };
MIT