diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-12-06 13:21:44 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-12-06 13:21:44 +0000 |
| commit | d38b0a19c204aface71ae6c39581346a8ad83887 (patch) | |
| tree | 3ca2d83e3aed851a0f345a8d2460f3e0f7ee3442 /.stylelintrc.json | |
| parent | 453da23613b8061f62290982693af0a2183c1aac (diff) | |
add stylelint to core, fixes #4965
Closes #4965
Merge request studip/studip!3728
Diffstat (limited to '.stylelintrc.json')
| -rw-r--r-- | .stylelintrc.json | 56 |
1 files changed, 10 insertions, 46 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json index 2673782..0e5f5c4 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,96 +1,60 @@ { - "extends": "stylelint-config-standard", + "extends": "stylelint-config-standard-scss", "rules": { "alpha-value-notation": null, "at-rule-empty-line-before": null, "at-rule-no-vendor-prefix": null, - "block-closing-brace-empty-line-before": null, - "block-closing-brace-newline-after": null, - "block-closing-brace-newline-before": null, - "block-closing-brace-space-before": null, "block-no-empty": null, - "block-opening-brace-newline-after": null, - "block-opening-brace-space-after": null, - "block-opening-brace-space-before": null, "color-function-notation": null, - "color-hex-case": null, "color-hex-length": null, "color-no-invalid-hex": null, "comment-empty-line-before": null, "comment-whitespace-inside": null, "custom-property-empty-line-before": null, - "declaration-bang-space-after": null, - "declaration-bang-space-before": null, "declaration-block-no-duplicate-properties": null, "declaration-block-no-redundant-longhand-properties": null, "declaration-block-no-shorthand-property-overrides": null, - "declaration-block-semicolon-newline-after": null, - "declaration-block-semicolon-space-before": null, "declaration-block-single-line-max-declarations": null, - "declaration-block-trailing-semicolon": null, - "declaration-colon-newline-after": null, - "declaration-colon-space-after": null, - "declaration-colon-space-before": null, "declaration-empty-line-before": null, "font-family-name-quotes": null, "font-family-no-missing-generic-family-keyword": null, - "function-comma-space-after": null, - "function-comma-space-before": null, "function-name-case": null, "function-no-unknown": null, - "function-parentheses-newline-inside": null, - "function-parentheses-space-inside": null, "function-url-quotes": null, "hue-degree-notation": null, - "indentation": null, + "import-notation": "string", "keyframes-name-pattern": null, "length-zero-no-unit": null, - "max-empty-lines": null, - "max-line-length": null, + "media-feature-range-notation": "prefix", "media-feature-name-no-vendor-prefix": null, "no-descending-specificity": null, "no-duplicate-selectors": null, - "no-empty-first-line": null, "no-empty-source": null, - "no-eol-whitespace": null, - "no-extra-semicolons": null, "no-invalid-position-at-import-rule": null, "no-irregular-whitespace": null, - "no-missing-end-of-source-newline": null, - "number-leading-zero": null, "number-max-precision": null, - "number-no-trailing-zeros": null, "property-no-vendor-prefix": null, "rule-empty-line-before": null, "selector-attribute-quotes": null, "selector-class-pattern": null, - "selector-combinator-space-after": null, - "selector-combinator-space-before": null, - "selector-descendant-combinator-no-non-space": null, "selector-id-pattern": null, - "selector-list-comma-newline-after": null, "selector-no-vendor-prefix": null, "selector-not-notation": null, "selector-pseudo-element-colon-notation": null, "shorthand-property-no-redundant-values": null, - "string-quotes": null, "value-keyword-case": null, - "value-list-max-empty-lines": null, "value-no-vendor-prefix": null, "custom-property-pattern": [ "^([a-z][a-z0-9]*-+)*[a-z0-9]+$", {"message": "Expected custom property name to be kebab-case-ish (multiple dashes are allowed"} - ] + ], + + "scss/at-extend-no-missing-placeholder": null, + "scss/at-mixin-pattern": null, + "scss/dollar-variable-empty-line-before": null, + "scss/dollar-variable-pattern": null, + "scss/double-slash-comment-empty-line-before": null }, - "overrides": [ - { - "files": ["**/*.scss"], - "customSyntax": "postcss-scss", - "rules": { - "at-rule-no-unknown": null - } - } - ], "ignoreFiles": [ "resource/assets/stylesheets/jquery-ui.structure.css", "resources/assets/stylesheets/vendor/*" |
