ui_migration lint(style) Add LINT and PURGE to CSS LESS all over WEBAPP
This commit is contained in:
parent
fb539e9e8e
commit
72345622e5
4 changed files with 1599 additions and 3 deletions
23
webapp/stylelint.config.mjs
Normal file
23
webapp/stylelint.config.mjs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// stylelint.config.mjs
|
||||
export default {
|
||||
extends: ["stylelint-config-standard"],
|
||||
|
||||
overrides: [
|
||||
{
|
||||
files: ["**/*.vue"],
|
||||
customSyntax: "postcss-html",
|
||||
},
|
||||
{
|
||||
files: ["**/*.less"],
|
||||
customSyntax: "postcss-less",
|
||||
},
|
||||
],
|
||||
|
||||
rules: {
|
||||
// UIKit class naming doesn't match Stylelint's default class pattern
|
||||
"selector-class-pattern": null,
|
||||
// Less @import is fine
|
||||
"no-invalid-position-at-import-rule": null,
|
||||
"no-empty-source": null,
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue