mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-06 07:48:30 +01:00
100 lines
3.5 KiB
JSON
100 lines
3.5 KiB
JSON
{
|
|
"extends": [
|
|
"stylelint-config-standard-scss",
|
|
"stylelint-config-idiomatic-order"
|
|
],
|
|
"ignoreFiles": [
|
|
"./assets/css/*.css",
|
|
"./assets/scss/*.scss",
|
|
"./assets/scss/vendor/*.scss"
|
|
],
|
|
"plugins": [
|
|
"stylelint-scss",
|
|
"stylelint-order"
|
|
],
|
|
"rules": {
|
|
"at-rule-empty-line-before": ["always", {
|
|
"except": [
|
|
"first-nested"
|
|
],
|
|
"ignore": [
|
|
"after-comment"
|
|
],
|
|
"ignoreAtRules": [
|
|
"if", "import", "include", "else", "extend", "media"
|
|
]
|
|
}],
|
|
"at-rule-name-space-after": "always",
|
|
"at-rule-no-unknown": null,
|
|
"at-rule-no-vendor-prefix": true,
|
|
"at-rule-semicolon-space-before": "never",
|
|
"block-closing-brace-newline-after": ["always", {
|
|
"ignoreAtRules": [
|
|
"if"
|
|
]
|
|
}],
|
|
"color-function-notation": null,
|
|
"color-hex-case": "lower",
|
|
"color-hex-length": "short",
|
|
"color-named": "never",
|
|
"comment-whitespace-inside": "always",
|
|
"declaration-block-trailing-semicolon": "always",
|
|
"declaration-colon-space-before": "never",
|
|
"declaration-colon-space-after": "always",
|
|
"declaration-block-no-duplicate-custom-properties": true,
|
|
"declaration-block-no-duplicate-properties": true,
|
|
"font-family-no-duplicate-names": true,
|
|
"indentation": 4,
|
|
"keyframes-name-pattern": null,
|
|
"max-line-length": 180,
|
|
"media-feature-range-operator-space-before": "always",
|
|
"media-feature-range-operator-space-after": "always",
|
|
"media-feature-parentheses-space-inside": "never",
|
|
"media-feature-colon-space-before": "never",
|
|
"media-feature-colon-space-after": "always",
|
|
"no-descending-specificity": true,
|
|
"no-duplicate-at-import-rules": true,
|
|
"no-duplicate-selectors": true,
|
|
"number-max-precision": 5,
|
|
"number-leading-zero": "always",
|
|
"property-no-vendor-prefix": null,
|
|
"scss/at-extend-no-missing-placeholder": null,
|
|
"scss/at-import-no-partial-leading-underscore": true,
|
|
"scss/at-rule-no-unknown": true,
|
|
"scss/dollar-variable-colon-space-after": "always",
|
|
"scss/dollar-variable-colon-space-before": "never",
|
|
"scss/dollar-variable-empty-line-before": null,
|
|
"scss/dollar-variable-first-in-block": [true, {
|
|
"ignore": [
|
|
"comments", "imports"
|
|
]
|
|
}],
|
|
"scss/dollar-variable-no-missing-interpolation": true,
|
|
"scss/no-duplicate-dollar-variables": [true, {
|
|
"ignoreInside": "at-rule"
|
|
}],
|
|
"scss/no-duplicate-mixins": true,
|
|
"scss/no-global-function-names": true,
|
|
"scss/operator-no-unspaced": true,
|
|
"rule-empty-line-before": ["always", {
|
|
"except": [
|
|
"after-single-line-comment"
|
|
],
|
|
"ignore": [
|
|
"inside-block"
|
|
]
|
|
}],
|
|
"selector-class-pattern": null,
|
|
"selector-combinator-space-after": "always",
|
|
"selector-list-comma-newline-after": "always-multi-line",
|
|
"selector-no-vendor-prefix": null,
|
|
"selector-pseudo-element-colon-notation": "double",
|
|
"string-quotes": "single",
|
|
"value-keyword-case": ["lower", {
|
|
"ignoreProperties": [
|
|
"/^\\$/"
|
|
]
|
|
}]
|
|
}
|
|
}
|