.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / prettier-stylelint / config.js
1 'use strict';
2
3 module.exports = {
4     rules: {
5         'function-comma-newline-after': null,
6         'function-comma-newline-before': null,
7         'function-comma-space-after': null,
8         'function-comma-space-before': null,
9         'function-max-empty-lines': null,
10         'function-parentheses-newline-inside': null,
11         'function-parentheses-space-inside': null,
12         // prettier doesnt care about this space lets keep it here
13         // "function-whitespace-after": "always"|"never",
14         'value-list-comma-newline-after': null,
15         'value-list-comma-newline-before': null,
16         'value-list-comma-space-after': null,
17         'value-list-comma-space-before': null,
18         'value-list-max-empty-lines': null,
19         // this is fixable but lets keep it
20         // 'custom-property-empty-line-before': 'never'
21         'declaration-bang-space-after': 'never',
22         'declaration-bang-space-before': 'always',
23         'declaration-colon-newline-after': null,
24         'declaration-colon-space-after': null,
25         'declaration-colon-space-before': null,
26         'declaration-block-semicolon-newline-after': null,
27         'declaration-block-semicolon-newline-before': null,
28         'declaration-block-semicolon-space-after': null,
29         'declaration-block-semicolon-space-before': null,
30         // prettier always adds the trailing semicolon
31         'declaration-block-trailing-semicolon': null,
32         'block-closing-brace-empty-line-before': null,
33         'block-closing-brace-newline-after': null,
34         'block-closing-brace-newline-before': null,
35         'block-closing-brace-space-after': null,
36         'block-closing-brace-space-before': null,
37         'block-opening-brace-newline-after': null,
38         'block-opening-brace-newline-before': null,
39         'block-opening-brace-space-after': null,
40         'block-opening-brace-space-before': null,
41         'selector-attribute-brackets-space-inside': 'never',
42         // prettier doesnt care about this space
43         // 'selector-attribute-operator-space-after': 'never'
44         // 'selector-attribute-operator-space-before': 'never'
45         'selector-attribute-quotes': 'always',
46         'selector-combinator-space-after': 'always',
47         'selector-combinator-space-before': 'always',
48         'selector-descendant-combinator-no-non-space': true,
49         'selector-pseudo-class-parentheses-space-inside': 'never',
50         'selector-list-comma-newline-after': null,
51         'selector-list-comma-newline-before': null,
52         'selector-list-comma-space-after': null,
53         'selector-list-comma-space-before': null,
54         'media-feature-colon-space-after': 'always',
55         'media-feature-colon-space-before': 'never',
56         'media-feature-parentheses-space-inside': 'never',
57         // prettier doesnt care about this space
58         // 'media-feature-range-operator-space-after': 'always',
59         // 'media-feature-range-operator-space-before': 'always'
60         'media-query-list-comma-newline-after': null,
61         'media-query-list-comma-newline-before': null,
62         'media-query-list-comma-space-after': 'always',
63         'media-query-list-comma-space-before': 'never',
64         'at-rule-name-newline-after': null,
65         'at-rule-name-space-after': 'always',
66         'at-rule-semicolon-newline-after': null,
67         'at-rule-semicolon-space-before': 'never',
68         // prettier doesnt care about this whitespace
69         // 'comment-whitespace-inside': 'always'
70
71         // debatable ( this also checks comments which prettier doesnt care)
72         'max-empty-lines': null,
73         'no-eol-whitespace': null
74     }
75 };