code.gitea.io/gitea@v1.21.7/.stylelintrc.yaml (about)

     1  plugins:
     2    - stylelint-declaration-strict-value
     3    - stylelint-declaration-block-no-ignored-properties
     4    - stylelint-stylistic
     5  
     6  ignoreFiles:
     7    - "**/*.go"
     8  
     9  overrides:
    10    - files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console.css", "font_i18n.css"]
    11      rules:
    12        scale-unlimited/declaration-strict-value: null
    13    - files: ["**/chroma/*", "**/codemirror/*"]
    14      rules:
    15        block-no-empty: null
    16    - files: ["**/*.vue"]
    17      customSyntax: postcss-html
    18  
    19  rules:
    20    alpha-value-notation: null
    21    annotation-no-unknown: true
    22    at-rule-allowed-list: null
    23    at-rule-disallowed-list: null
    24    at-rule-empty-line-before: null
    25    at-rule-no-unknown: true
    26    at-rule-no-vendor-prefix: true
    27    at-rule-property-required-list: null
    28    block-no-empty: true
    29    color-function-notation: null
    30    color-hex-alpha: null
    31    color-hex-length: null
    32    color-named: null
    33    color-no-hex: null
    34    color-no-invalid-hex: true
    35    comment-empty-line-before: null
    36    comment-no-empty: true
    37    comment-pattern: null
    38    comment-whitespace-inside: null
    39    comment-word-disallowed-list: null
    40    custom-media-pattern: null
    41    custom-property-empty-line-before: null
    42    custom-property-no-missing-var-function: true
    43    custom-property-pattern: null
    44    declaration-block-no-duplicate-custom-properties: true
    45    declaration-block-no-duplicate-properties: [true, {ignore: [consecutive-duplicates-with-different-values]}]
    46    declaration-block-no-redundant-longhand-properties: null
    47    declaration-block-no-shorthand-property-overrides: null
    48    declaration-block-single-line-max-declarations: null
    49    declaration-empty-line-before: null
    50    declaration-no-important: null
    51    declaration-property-max-values: null
    52    declaration-property-unit-allowed-list: null
    53    declaration-property-unit-disallowed-list: {line-height: [em]}
    54    declaration-property-value-allowed-list: null
    55    declaration-property-value-disallowed-list: null
    56    declaration-property-value-no-unknown: true
    57    font-family-name-quotes: always-where-recommended
    58    font-family-no-duplicate-names: true
    59    font-family-no-missing-generic-family-keyword: true
    60    font-weight-notation: null
    61    function-allowed-list: null
    62    function-calc-no-unspaced-operator: true
    63    function-disallowed-list: null
    64    function-linear-gradient-no-nonstandard-direction: true
    65    function-name-case: lower
    66    function-no-unknown: null
    67    function-url-no-scheme-relative: null
    68    function-url-quotes: always
    69    function-url-scheme-allowed-list: null
    70    function-url-scheme-disallowed-list: null
    71    hue-degree-notation: null
    72    import-notation: string
    73    keyframe-block-no-duplicate-selectors: true
    74    keyframe-declaration-no-important: true
    75    keyframe-selector-notation: null
    76    keyframes-name-pattern: null
    77    length-zero-no-unit: true
    78    max-nesting-depth: null
    79    media-feature-name-allowed-list: null
    80    media-feature-name-disallowed-list: null
    81    media-feature-name-no-unknown: true
    82    media-feature-name-no-vendor-prefix: true
    83    media-feature-name-unit-allowed-list: null
    84    media-feature-name-value-allowed-list: null
    85    media-feature-name-value-no-unknown: true
    86    media-feature-range-notation: null
    87    media-query-no-invalid: true
    88    named-grid-areas-no-invalid: true
    89    no-descending-specificity: null
    90    no-duplicate-at-import-rules: true
    91    no-duplicate-selectors: true
    92    no-empty-source: true
    93    no-invalid-double-slash-comments: true
    94    no-invalid-position-at-import-rule: null
    95    no-irregular-whitespace: true
    96    no-unknown-animations: null
    97    no-unknown-custom-properties: null
    98    number-max-precision: null
    99    plugin/declaration-block-no-ignored-properties: true
   100    property-allowed-list: null
   101    property-disallowed-list: null
   102    property-no-unknown: true
   103    property-no-vendor-prefix: null
   104    rule-empty-line-before: null
   105    rule-selector-property-disallowed-list: null
   106    scale-unlimited/declaration-strict-value: [[color, background-color, border-color, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true}]
   107    selector-attribute-name-disallowed-list: null
   108    selector-attribute-operator-allowed-list: null
   109    selector-attribute-operator-disallowed-list: null
   110    selector-attribute-quotes: always
   111    selector-class-pattern: null
   112    selector-combinator-allowed-list: null
   113    selector-combinator-disallowed-list: null
   114    selector-disallowed-list: null
   115    selector-id-pattern: null
   116    selector-max-attribute: null
   117    selector-max-class: null
   118    selector-max-combinators: null
   119    selector-max-compound-selectors: null
   120    selector-max-id: null
   121    selector-max-pseudo-class: null
   122    selector-max-specificity: null
   123    selector-max-type: null
   124    selector-max-universal: null
   125    selector-nested-pattern: null
   126    selector-no-qualifying-type: null
   127    selector-no-vendor-prefix: true
   128    selector-not-notation: null
   129    selector-pseudo-class-allowed-list: null
   130    selector-pseudo-class-disallowed-list: null
   131    selector-pseudo-class-no-unknown: true
   132    selector-pseudo-element-allowed-list: null
   133    selector-pseudo-element-colon-notation: double
   134    selector-pseudo-element-disallowed-list: null
   135    selector-pseudo-element-no-unknown: true
   136    selector-type-case: lower
   137    selector-type-no-unknown: [true, {ignore: [custom-elements]}]
   138    shorthand-property-no-redundant-values: true
   139    string-no-newline: true
   140    stylistic/at-rule-name-case: null
   141    stylistic/at-rule-name-newline-after: null
   142    stylistic/at-rule-name-space-after: null
   143    stylistic/at-rule-semicolon-newline-after: null
   144    stylistic/at-rule-semicolon-space-before: null
   145    stylistic/block-closing-brace-empty-line-before: null
   146    stylistic/block-closing-brace-newline-after: null
   147    stylistic/block-closing-brace-newline-before: null
   148    stylistic/block-closing-brace-space-after: null
   149    stylistic/block-closing-brace-space-before: null
   150    stylistic/block-opening-brace-newline-after: null
   151    stylistic/block-opening-brace-newline-before: null
   152    stylistic/block-opening-brace-space-after: null
   153    stylistic/block-opening-brace-space-before: null
   154    stylistic/color-hex-case: lower
   155    stylistic/declaration-bang-space-after: never
   156    stylistic/declaration-bang-space-before: null
   157    stylistic/declaration-block-semicolon-newline-after: null
   158    stylistic/declaration-block-semicolon-newline-before: null
   159    stylistic/declaration-block-semicolon-space-after: null
   160    stylistic/declaration-block-semicolon-space-before: never
   161    stylistic/declaration-block-trailing-semicolon: null
   162    stylistic/declaration-colon-newline-after: null
   163    stylistic/declaration-colon-space-after: null
   164    stylistic/declaration-colon-space-before: never
   165    stylistic/function-comma-newline-after: null
   166    stylistic/function-comma-newline-before: null
   167    stylistic/function-comma-space-after: null
   168    stylistic/function-comma-space-before: null
   169    stylistic/function-max-empty-lines: 0
   170    stylistic/function-parentheses-newline-inside: never-multi-line
   171    stylistic/function-parentheses-space-inside: null
   172    stylistic/function-whitespace-after: null
   173    stylistic/indentation: 2
   174    stylistic/linebreaks: null
   175    stylistic/max-empty-lines: 1
   176    stylistic/max-line-length: null
   177    stylistic/media-feature-colon-space-after: null
   178    stylistic/media-feature-colon-space-before: never
   179    stylistic/media-feature-name-case: null
   180    stylistic/media-feature-parentheses-space-inside: null
   181    stylistic/media-feature-range-operator-space-after: always
   182    stylistic/media-feature-range-operator-space-before: always
   183    stylistic/media-query-list-comma-newline-after: null
   184    stylistic/media-query-list-comma-newline-before: null
   185    stylistic/media-query-list-comma-space-after: null
   186    stylistic/media-query-list-comma-space-before: null
   187    stylistic/no-empty-first-line: null
   188    stylistic/no-eol-whitespace: true
   189    stylistic/no-extra-semicolons: true
   190    stylistic/no-missing-end-of-source-newline: null
   191    stylistic/number-leading-zero: null
   192    stylistic/number-no-trailing-zeros: null
   193    stylistic/property-case: lower
   194    stylistic/selector-attribute-brackets-space-inside: null
   195    stylistic/selector-attribute-operator-space-after: null
   196    stylistic/selector-attribute-operator-space-before: null
   197    stylistic/selector-combinator-space-after: null
   198    stylistic/selector-combinator-space-before: null
   199    stylistic/selector-descendant-combinator-no-non-space: null
   200    stylistic/selector-list-comma-newline-after: null
   201    stylistic/selector-list-comma-newline-before: null
   202    stylistic/selector-list-comma-space-after: always-single-line
   203    stylistic/selector-list-comma-space-before: never-single-line
   204    stylistic/selector-max-empty-lines: 0
   205    stylistic/selector-pseudo-class-case: lower
   206    stylistic/selector-pseudo-class-parentheses-space-inside: never
   207    stylistic/selector-pseudo-element-case: lower
   208    stylistic/string-quotes: double
   209    stylistic/unicode-bom: null
   210    stylistic/unit-case: lower
   211    stylistic/value-list-comma-newline-after: null
   212    stylistic/value-list-comma-newline-before: null
   213    stylistic/value-list-comma-space-after: null
   214    stylistic/value-list-comma-space-before: null
   215    stylistic/value-list-max-empty-lines: 0
   216    time-min-milliseconds: null
   217    unit-allowed-list: null
   218    unit-disallowed-list: null
   219    unit-no-unknown: true
   220    value-keyword-case: null
   221    value-no-vendor-prefix: [true, {ignoreValues: [box, inline-box]}]