gearbox-stylelint
v1.0.1
Published
Gearbox SCSS style linting rules.
Downloads
3
Readme
Gearbox - StyleLint
These rules dictate the SCSS / CSS linting standards endorsed by Gearbox Design.
Installation
Install Node dependencies
npm install
Usage
Ensure an initial .stylelintrc.js exists in the target directory with appropriate configuration options:
Example '.stylelintrc.js'
module.exports = { 'extends': [ 'gearbox-stylelint' ].map(require.resolve), // Local override rules... 'rules': { 'no-unsupported-browser-features': [true, { // Recommended specific project browser features are noted here. 'browsers': 'last 2 versions', 'severity': 'warning' } } };
Run stylelint standalone (provided stylelint is installed globally) with:
stylelint <DIRECTORY>
Or via other workflow tooling designed to interface with the stylelint API.