0.1.3 • Published 8 years ago

amaze-stylelint v0.1.3

Weekly downloads
3
License
MIT
Repository
-
Last release
8 years ago

Amaze - StyleLint

These rules dictate the SCSS / CSS linting standards endorsed by Amaze Ltd.

Installation

  1. Install Node dependencies

    npm install

Usage

  1. Ensure an initial .stylelintrc.js exists in the target directory with appropriate configuration options:

    Example '.stylelintrc.js'

    module.exports = {
    	'extends': [
    		'amaze-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'
    		}
    	}
    };
  2. Run stylelint standalone (provided stylelint is installed globally) with:

    stylelint <DIRECTORY>

Or via other workflow tooling designed to interface with the stylelint API.

Links

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago