@mediacurrent/stylelint-config
v0.0.2
Published
Adds stylelint configuration for consistent CSS rules.
Downloads
52
Readme
@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.