@episclera/lint-staged-config
A shareable lint-staged config. Part of multipack monorepo.
Site | Getting Started | API | Blog
Usage
Install: npm i -D @episclera/lint-staged-config
And in your lint-staged.config.js
file just put this content.
const lintStagedConfig = require('@episclera/lint-staged-config')
module.exports = lintStagedConfig
// OR you can mix multiple configs with "mergeConfigs" util from @episclera/multipack-utils
const lintStagedConfig = require('@episclera/lint-staged-config')
const { mergeConfigs } = require('@episclera/multipack-utils')
module.exports = mergeConfigs(lintStagedConfig, {
'*.(json)': ['prettier --check'],
})
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Open Collective
Or you can sponsor viaAuthor
@episclera/multipack © Episclera, Released under the MIT License.
Authored and maintained by Episclera with help from contributors (list).