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:
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
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user