0.0.2 • Published 3 years ago

@mediacurrent/stylelint-config v0.0.2

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

@mediacurrent/stylelint-config

Adds stylelint configuration for consistent CSS rules.

Install

npm install --save-dev @mediacurrent/stylelint-config

Extend

In local stylelintrc.yml

// Get base from node_modules.
extends:
  - "@mediacurrent/stylelint-config"
// Overrides.
rules: 
  indentation: "tab"

Pre-commit hook

For formatting using these rules to take place automatically on commit, follow the steps outlined here in Prettier setup.

0.0.2

3 years ago

0.0.1

3 years ago