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 |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 If you've globally installed stylelint-config-eyeo using the `-g` flag, then | 37 If you've globally installed stylelint-config-eyeo using the `-g` flag, then |
38 you'll need to use the absolute path to stylelint-config-eyeo in your config. | 38 you'll need to use the absolute path to stylelint-config-eyeo in your config. |
39 | 39 |
40 { | 40 { |
41 "extends": "/absolute/path/to/stylelint-config-eyeo" | 41 "extends": "/absolute/path/to/stylelint-config-eyeo" |
42 } | 42 } |
43 | 43 |
44 For projects without a Stylelint configuration you can create your own | 44 For projects without a Stylelint configuration you can create your own |
45 personal configuration in `~/.stylelintrc.json`. | 45 personal configuration in `~/.stylelintrc.json`. |
| 46 |
| 47 ## License |
| 48 |
| 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) |
OLD | NEW |