2.0.0 • Published 3 years ago

insomniac-stylelint v2.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
3 years ago

Insomniac* StyleLint

npm version npm downloads dependency status build status github issues

A Stylelint config that sorts CSS properties the way Recess did and Bootstrap did/does.

Stylelint is a tool that reports bad code in your CSS files. It helps to enforce the consistent code and prevents you from making errors in your stylesheets. It is highly configurable.

*With some modifications & additions for modern properties.

Sort config

Alt Text

Syntax checker

Alt Text

Usage

  1. Add stylelint and this package to your project:

    npm install --save-dev stylelint insomniac-stylelint
  2. Add file .stylelintrc.json in root of your theme

  3. Configure your stylelint configuration file to extend this package:

    {
      "extends": "insomniac-stylelint",
      "rules": {
        // Add overrides and additional rules here
      }
    }

Visual Studio Code

Install VSCode-extension stylelint.

References

@mdo on CSS Property Order

2.0.0

3 years ago

1.5.3

4 years ago

1.5.2

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.8

4 years ago

1.4.7

4 years ago

1.4.6

4 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.2.1

4 years ago

1.1.0-0

4 years ago

1.0.1

4 years ago

1.0.1-0

4 years ago

1.0.0

4 years ago