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:
parent
8b9b70d9cd
commit
cc01105bf0
7 changed files with 2020 additions and 34 deletions
17
.stylelintrc.js
Normal file
17
.stylelintrc.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* global module */
|
||||
|
||||
module.exports = {
|
||||
"extends": "stylelint-config-standard",
|
||||
|
||||
"plugins": [
|
||||
"stylelint-order"
|
||||
],
|
||||
|
||||
"rules": {
|
||||
"order/order": [
|
||||
"custom-properties",
|
||||
"declarations"
|
||||
],
|
||||
"indentation": 4
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue