diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-06-28 10:04:03 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-06-28 10:04:03 +0000 |
| commit | c847bce7ea1636080e49bc6a74c7366fcf80969d (patch) | |
| tree | a924e61d099c1c42b1852956a5ac5c41c4cbc6bb /.stylelintrc.json | |
| parent | f4a9db3e58ec774042c702b3d5f5b07143c04510 (diff) | |
add css linting for css, less and scss, re #606
Merge request studip/studip!724
Diffstat (limited to '.stylelintrc.json')
| -rw-r--r-- | .stylelintrc.json | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..35983dd --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,98 @@ +{ + "extends": "stylelint-config-standard", + "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, + "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, + "keyframes-name-pattern": null, + "length-zero-no-unit": null, + "max-empty-lines": null, + "max-line-length": null, + "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 + }, + "overrides": [ + { + "files": ["**/*.scss"], + "customSyntax": "postcss-scss", + "rules": { + "at-rule-no-unknown": null + } + }, + { + "files": ["**/*.less"], + "customSyntax": "postcss-less" + } + ], + "ignoreFiles": [ + "resource/assets/stylesheets/jquery-ui.structure.css", + "resources/assets/stylesheets/less/jquery-ui/*", + "resources/assets/stylesheets/vendor/*" + ] +} |
