lint-staged-config-airlight

4.1.4 • Public • Published

lint-staged-config-airlight

Almost zero-config lint-staged configuration

Deprecated

This package deprecated due of lefthook performance and flexibility

Installation

npm install lintstaged-config-airlight --save-dev
# or
yarn add lintstaged-config-airlight -D

Peer dependencies

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

Usage

.lintstagedrc.js

module.exports = require('lintstaged-config-airlight')(languages?);

Arguments

languages [Optional]

Allowed languages to lint

Type: String[]

Default:

[
  'ts',
  'js',
  'tsx',
  'jsx',
  'json',
  'yml',
  'css',
  'scss',
  'sass',
  'less',
  'md',
  'dockerfile'
];

Rules

See config.js

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i lint-staged-config-airlight

      Weekly Downloads

      20

      Version

      4.1.4

      License

      MIT

      Unpacked Size

      4.42 kB

      Total Files

      3

      Last publish

      Collaborators

      • dalisoft