stylelint-config-eyeo

1.0.3 • Public • Published

stylelint-config-eyeo

A Stylelint configuration that checks for compliance with the Adblock Plus coding style guide which is used for all eyeo projects.

Installation

npm install -g stylelint

Next, either install stylelint-config-eyeo within your project. For example:

npm install --save-dev stylelint-config-eyeo

Or, install stylelint-config-eyeo globally. For example:

npm install -g stylelint-config-eyeo

Usage

To lint a CSS (or CSS-like, e.g. SCSS, SugarCSS, Less) file using Stylelint you run the stylelint command with the file as an argument. For example:

stylelint example.css

For advanced usage see stylelint --help.

In order to use stylelint-config-eyeo, your project's Stylelint configuration should extend from it. A minimal example looks like this:

{
  "extends": "stylelint-config-eyeo"
}

If you've globally installed stylelint-config-eyeo using the -g flag, then you'll need to use the absolute path to stylelint-config-eyeo in your config.

{
  "extends": "/absolute/path/to/stylelint-config-eyeo"
}

For projects without a Stylelint configuration you can create your own personal configuration in ~/.stylelintrc.json.

License

  • CSS property order in css-properties-order.js based on grunt-wp-css

Package Sidebar

Install

npm i stylelint-config-eyeo

Weekly Downloads

41

Version

1.0.3

License

GPL-3.0

Unpacked Size

9.96 kB

Total Files

4

Last publish

Collaborators

  • leunma
  • agczyz
  • jensjensen
  • justin.worthe
  • rowandeysel
  • 4ntoine
  • jthwaites
  • t.feliu.ext
  • t.temizer
  • office-it
  • ireade