Almost zero-config lint-staged configuration
This package deprecated due of lefthook
performance and flexibility
npm install lintstaged-config-airlight --save-dev
# or
yarn add lintstaged-config-airlight -D
For working properly, you may need one or all of these dependencies.
For more information about each dependencies, click to dependecy link to learn about configs, features and how they work
.lintstagedrc.js
module.exports = require('lintstaged-config-airlight')(languages?);
Allowed languages to lint
Type: String[]
Default:
[
'ts',
'js',
'tsx',
'jsx',
'json',
'yml',
'css',
'scss',
'sass',
'less',
'md',
'dockerfile'
];
See config.js
MIT