| OLD | NEW |
| 1 # stylelint-config-eyeo | 1 # stylelint-config-eyeo |
| 2 | 2 |
| 3 A [Stylelint](https://stylelint.io) configuration that checks for compliance | 3 A [Stylelint](https://stylelint.io) configuration that checks for compliance |
| 4 with the [Adblock Plus coding style guide](https://adblockplus.org/coding-style#
html-css) | 4 with the [Adblock Plus coding style guide](https://adblockplus.org/coding-style#
html-css) |
| 5 which is used for all eyeo projects. | 5 which is used for all eyeo projects. |
| 6 | 6 |
| 7 ## Installation | 7 ## Installation |
| 8 | 8 |
| 9 npm install -g stylelint | 9 npm install -g stylelint |
| 10 | 10 |
| 11 This command requires administrator privileges so you might need to use `sudo`. | |
| 12 | |
| 13 Next, either install stylelint-config-eyeo within your project. For example: | 11 Next, either install stylelint-config-eyeo within your project. For example: |
| 14 | 12 |
| 15 npm install --save-dev stylelint-config-eyeo | 13 npm install --save-dev stylelint-config-eyeo |
| 16 | 14 |
| 17 Or, install stylelint-config-eyeo globally. For example: | 15 Or, install stylelint-config-eyeo globally. For example: |
| 18 | 16 |
| 19 npm install -g stylelint-config-eyeo | 17 npm install -g stylelint-config-eyeo |
| 20 | 18 |
| 21 ## Usage | 19 ## Usage |
| 22 | 20 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 40 { | 38 { |
| 41 "extends": "/absolute/path/to/stylelint-config-eyeo" | 39 "extends": "/absolute/path/to/stylelint-config-eyeo" |
| 42 } | 40 } |
| 43 | 41 |
| 44 For projects without a Stylelint configuration you can create your own | 42 For projects without a Stylelint configuration you can create your own |
| 45 personal configuration in `~/.stylelintrc.json`. | 43 personal configuration in `~/.stylelintrc.json`. |
| 46 | 44 |
| 47 ## License | 45 ## License |
| 48 | 46 |
| 49 - CSS property order in `css-properties-order.js` based on [grunt-wp-css](https:
//github.com/cedaro/grunt-wp-css/blob/develop/tasks/config/default.json) | 47 - CSS property order in `css-properties-order.js` based on [grunt-wp-css](https:
//github.com/cedaro/grunt-wp-css/blob/develop/tasks/config/default.json) |
| OLD | NEW |