ESLint 9 flat config, Prettier, Stylelint, husky-хуки, lint-staged и nx-таргеты проверок в корневом project.json.
87 lines
2.1 KiB
JSON
87 lines
2.1 KiB
JSON
{
|
|
"extends": [
|
|
"stylelint-config-standard",
|
|
"stylelint-config-recess-order",
|
|
"stylelint-config-standard-scss",
|
|
"stylelint-prettier/recommended",
|
|
"stylelint-config-prettier-scss"
|
|
],
|
|
"plugins": [
|
|
"stylelint-order",
|
|
"stylelint-scss"
|
|
],
|
|
"rules": {
|
|
"scss/at-rule-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreAtRules": [
|
|
"tailwind",
|
|
"apply",
|
|
"layer",
|
|
"screen",
|
|
"responsive",
|
|
"variants",
|
|
"config",
|
|
"source",
|
|
"theme",
|
|
"utility",
|
|
"custom-variant",
|
|
"plugin"
|
|
]
|
|
}
|
|
],
|
|
"selector-pseudo-class-no-unknown": [
|
|
true,
|
|
{
|
|
"ignorePseudoClasses": [
|
|
"global"
|
|
]
|
|
}
|
|
],
|
|
"max-nesting-depth": [
|
|
3,
|
|
{
|
|
"ignore": [
|
|
"blockless-at-rules",
|
|
"pseudo-classes"
|
|
]
|
|
}
|
|
],
|
|
"selector-class-pattern": null,
|
|
"scss/dollar-variable-pattern": null,
|
|
"custom-property-pattern": null,
|
|
"selector-id-pattern": null,
|
|
"no-descending-specificity": null,
|
|
"order/order": [
|
|
"custom-properties",
|
|
"declarations",
|
|
{
|
|
"type": "at-rule",
|
|
"name": "media"
|
|
},
|
|
{
|
|
"type": "rule",
|
|
"selector": "^&::(before|after)"
|
|
},
|
|
{
|
|
"type": "rule",
|
|
"selector": "^&:\\w"
|
|
},
|
|
{
|
|
"type": "rule",
|
|
"selector": "^&_"
|
|
},
|
|
{
|
|
"type": "rule",
|
|
"selector": "^."
|
|
}
|
|
],
|
|
"color-hex-length": null
|
|
},
|
|
"ignoreFiles": [
|
|
"coverage/**/*",
|
|
"apps/*/dist/**/*",
|
|
"dist/**/*"
|
|
]
|
|
}
|