3.1.2 • Published 2 years ago

@zilahir/stylelint-config v3.1.2

Weekly downloads
74
License
MIT
Repository
github
Last release
2 years ago

stylelint-config

This is my personal configuration for Stylelint. It includes rules for CSS and SCSS and enforces a reasonable property order.

Overview

The rules are based on the sass-guidelines and rational-order configurations and include a couple of custom additions and deletions.

The configuration is compatible with Prettier (if it's configured to use tabs for indentation).

Usage

  1. Install the required packages:
npm i --save-dev stylelint
npm i --save-dev @zilahir/stylelint-config
  1. Create a .stylelintrc.yml file with the following content in your project root:
extends: "@ziilahir/stylelint-config"
  1. Add the linting script(s) you need to your package.json file:
{
  "scripts": {
    "lint:css": "stylelint --fix src/**/*.css",
    "lint:scss": "stylelint --fix --syntax scss src/**/*.scss"
  }
}
3.1.2

2 years ago

3.1.1

2 years ago

3.1.0

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.0.0

5 years ago