Adds stylelint configuration for consistent CSS rules.
npm install --save-dev @mediacurrent/stylelint-config
In local stylelintrc.yml
// Get base from node_modules.
extends:
- "@mediacurrent/stylelint-config"
// Overrides.
rules:
indentation: "tab"
For formatting using these rules to take place automatically on commit, follow the steps outlined here in Prettier setup.