Add linter for CSS files:

- Add Github Action.
- Update .gitignore.
- Add .stylelintignore for vendor related files.
- Fix format.css to match rules (includes hacks with @todo).
This commit is contained in:
Fabien Basmaison
2021-03-31 16:15:30 +02:00
parent 8b9b70d9cd
commit cc01105bf0
7 changed files with 2020 additions and 34 deletions

17
.stylelintrc.js Normal file
View File

@ -0,0 +1,17 @@
/* global module */
module.exports = {
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-order"
],
"rules": {
"order/order": [
"custom-properties",
"declarations"
],
"indentation": 4
}
};