generator-reackt 0.3.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.prettierrc CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
+ "endOfLine": "auto",
2
3
  "singleQuote": true,
3
- "trailingComma": "none",
4
- "endOfLine": "auto"
5
- }
4
+ "trailingComma": "none"
5
+ }
package/.stylelintrc CHANGED
@@ -1,104 +1,188 @@
1
1
  {
2
- "defaultSeverity": "error",
2
+ "defaultSeverity": "warning",
3
+ "extends": "stylelint-config-recommended",
4
+ "customSyntax": "postcss-scss",
3
5
  "rules": {
6
+ "at-rule-allowed-list": null,
7
+ "at-rule-disallowed-list": null,
4
8
  "at-rule-empty-line-before": [
5
9
  "always",
6
10
  {
7
- "except": [ "blockless-after-blockless", "first-nested" ],
8
- "ignore": [ "after-comment" ],
9
- "ignoreAtRules": [ "else" ]
11
+ "except": [
12
+ "blockless-after-blockless",
13
+ "first-nested"
14
+ ],
15
+ "ignore": [
16
+ "after-comment"
17
+ ],
18
+ "ignoreAtRules": [
19
+ "else"
20
+ ]
10
21
  }
11
22
  ],
12
- "at-rule-name-newline-after": "always-multi-line",
13
- "at-rule-name-space-after": "always-single-line",
14
- "at-rule-semicolon-newline-after": "always",
15
- "at-rule-semicolon-space-before": "never",
16
- "block-closing-brace-empty-line-before": "never",
17
- "block-closing-brace-newline-after": [
18
- "always",
23
+ "at-rule-no-unknown": [
24
+ true,
19
25
  {
20
- "ignoreAtRules": [ "else", "if" ]
26
+ "ignoreAtRules": [
27
+ "each",
28
+ "content",
29
+ "else",
30
+ "extend",
31
+ "if",
32
+ "include",
33
+ "mixin",
34
+ "for",
35
+ "elseif",
36
+ "return",
37
+ "function"
38
+ ]
21
39
  }
22
40
  ],
23
- "block-closing-brace-newline-before": "always-multi-line",
24
- "block-closing-brace-space-after": "always-single-line",
25
- "block-closing-brace-space-before": "always-single-line",
41
+ "at-rule-no-vendor-prefix": true,
26
42
  "block-no-empty": true,
27
- "block-opening-brace-newline-after": "always",
28
- "block-opening-brace-newline-before": "never-single-line",
29
- "block-opening-brace-space-after": "always-single-line",
30
- "block-opening-brace-space-before": "always",
43
+ "color-hex-length": "short",
44
+ "color-named": [
45
+ "never",
46
+ {
47
+ "severity": "error"
48
+ }
49
+ ],
50
+ "color-no-hex": null,
51
+ "color-no-invalid-hex": true,
31
52
  "comment-empty-line-before": [
32
53
  "always",
33
54
  {
34
- "ignore": [ "after-comment", "stylelint-commands" ]
55
+ "ignore": [
56
+ "after-comment",
57
+ "stylelint-commands"
58
+ ]
35
59
  }
36
60
  ],
37
61
  "comment-no-empty": true,
38
62
  "comment-whitespace-inside": "always",
63
+ "comment-word-disallowed-list": [
64
+ "/^TODO:/"
65
+ ],
66
+ "custom-media-pattern": null,
39
67
  "custom-property-empty-line-before": null,
40
- "declaration-bang-space-after": "never",
41
- "declaration-bang-space-before": "always",
42
- "declaration-block-semicolon-newline-after": "always",
43
- "declaration-block-semicolon-newline-before": null,
44
- "declaration-block-semicolon-space-after": "always-single-line",
45
- "declaration-block-semicolon-space-before": "never",
68
+ "custom-property-pattern": null,
69
+ "declaration-block-no-duplicate-properties": true,
70
+ "declaration-block-no-redundant-longhand-properties": true,
71
+ "declaration-block-no-shorthand-property-overrides": true,
46
72
  "declaration-block-single-line-max-declarations": 1,
47
- "declaration-block-trailing-semicolon": "always",
48
- "declaration-colon-newline-after": null,
49
- "declaration-colon-space-after": "always",
50
- "declaration-colon-space-before": "never",
51
- "declaration-empty-line-before": "never",
52
- "function-comma-newline-after": null,
53
- "function-comma-newline-before": null,
54
- "function-comma-space-after": "always",
55
- "function-comma-space-before": null,
56
- "function-max-empty-lines": 0,
57
- "function-whitespace-after": "always",
58
- "indentation": 2,
59
- "max-empty-lines": 2,
60
- "max-line-length": 100,
73
+ "declaration-no-important": true,
74
+ "declaration-property-unit-allowed-list": {
75
+ "border": [
76
+ "px"
77
+ ],
78
+ "line-height": [],
79
+ "outline-offset": [
80
+ "px"
81
+ ]
82
+ },
83
+ "declaration-property-unit-disallowed-list": {},
84
+ "declaration-property-value-allowed-list": {},
85
+ "declaration-property-value-disallowed-list": {},
86
+ "font-family-name-quotes": "always-unless-keyword",
87
+ "font-family-no-duplicate-names": true,
88
+ "font-family-no-missing-generic-family-keyword": true,
89
+ "font-weight-notation": "numeric",
90
+ "function-allowed-list": null,
91
+ "function-calc-no-unspaced-operator": true,
92
+ "function-disallowed-list": null,
93
+ "function-linear-gradient-no-nonstandard-direction": true,
94
+ "function-url-no-scheme-relative": true,
95
+ "function-url-quotes": "always",
96
+ "function-url-scheme-allowed-list": null,
97
+ "function-url-scheme-disallowed-list": null,
98
+ "keyframe-declaration-no-important": true,
99
+ "length-zero-no-unit": true,
61
100
  "max-nesting-depth": 4,
62
- "media-feature-colon-space-after": "always",
63
- "media-feature-colon-space-before": "never",
64
- "media-feature-parentheses-space-inside": "never",
65
- "media-feature-range-operator-space-after": "always",
66
- "media-feature-range-operator-space-before": "always",
67
- "media-query-list-comma-newline-after": null,
68
- "media-query-list-comma-newline-before": null,
69
- "media-query-list-comma-space-after": null,
70
- "media-query-list-comma-space-before": null,
101
+ "media-feature-name-allowed-list": null,
102
+ "media-feature-name-disallowed-list": null,
103
+ "media-feature-name-no-unknown": true,
104
+ "media-feature-name-no-vendor-prefix": true,
105
+ "no-descending-specificity": true,
71
106
  "no-duplicate-at-import-rules": true,
72
107
  "no-duplicate-selectors": true,
73
108
  "no-empty-source": true,
74
- "no-eol-whitespace": true,
75
- "no-extra-semicolons": true,
76
109
  "no-invalid-double-slash-comments": true,
77
- "no-missing-end-of-source-newline": true,
110
+ "no-unknown-animations": true,
111
+ "number-max-precision": [
112
+ 2,
113
+ {
114
+ "ignoreUnits": [
115
+ "em",
116
+ "rem"
117
+ ]
118
+ }
119
+ ],
120
+ "property-allowed-list": null,
121
+ "property-disallowed-list": null,
122
+ "property-no-unknown": true,
123
+ "property-no-vendor-prefix": true,
78
124
  "rule-empty-line-before": [
79
125
  "always",
80
126
  {
81
- "except": [ "first-nested" ],
82
- "ignore": [ "after-comment" ]
127
+ "except": [
128
+ "first-nested"
129
+ ],
130
+ "ignore": [
131
+ "after-comment"
132
+ ]
133
+ }
134
+ ],
135
+ "selector-attribute-operator-allowed-list": null,
136
+ "selector-attribute-operator-disallowed-list": null,
137
+ "selector-attribute-quotes": "always",
138
+ "selector-class-pattern": "[a-z]+",
139
+ "selector-combinator-allowed-list": null,
140
+ "selector-combinator-disallowed-list": null,
141
+ "selector-id-pattern": null,
142
+ "selector-max-attribute": 1,
143
+ "selector-max-class": 3,
144
+ "selector-max-combinators": 2,
145
+ "selector-max-compound-selectors": 3,
146
+ "selector-max-id": 1,
147
+ "selector-max-pseudo-class": 2,
148
+ "selector-max-specificity": [
149
+ "0,5,1",
150
+ {
151
+ "severity": "error"
83
152
  }
84
153
  ],
85
- "selector-attribute-brackets-space-inside": "never",
86
- "selector-attribute-operator-space-after": "never",
87
- "selector-attribute-operator-space-before": "never",
88
- "selector-combinator-space-after": "always",
89
- "selector-combinator-space-before": "always",
90
- "selector-descendant-combinator-no-non-space": true,
91
- "selector-list-comma-newline-after": "always",
92
- "selector-list-comma-newline-before": "never-multi-line",
93
- "selector-list-comma-space-after": "always-single-line",
94
- "selector-list-comma-space-before": null,
95
- "selector-max-empty-lines": 0,
154
+ "selector-max-type": 2,
155
+ "selector-max-universal": 1,
156
+ "selector-nested-pattern": null,
157
+ "selector-no-qualifying-type": true,
158
+ "selector-no-vendor-prefix": true,
159
+ "selector-pseudo-class-allowed-list": null,
160
+ "selector-pseudo-class-disallowed-list": null,
161
+ "selector-pseudo-class-no-unknown": true,
162
+ "selector-pseudo-element-allowed-list": null,
163
+ "selector-pseudo-element-colon-notation": "double",
164
+ "selector-pseudo-element-disallowed-list": null,
165
+ "selector-pseudo-element-no-unknown": true,
166
+ "selector-type-no-unknown": true,
167
+ "shorthand-property-no-redundant-values": true,
96
168
  "string-no-newline": true,
97
- "string-quotes": "double",
98
- "value-list-comma-newline-after": "always-multi-line",
99
- "value-list-comma-newline-before": null,
100
- "value-list-comma-space-after": null,
101
- "value-list-comma-space-before": "never",
102
- "value-list-max-empty-lines": 0
169
+ "time-min-milliseconds": 100,
170
+ "unit-allowed-list": [
171
+ "%",
172
+ "deg",
173
+ "em",
174
+ "ms",
175
+ "px",
176
+ "rem",
177
+ "s",
178
+ "vh",
179
+ "vmax",
180
+ "vmin",
181
+ "vw"
182
+ ],
183
+ "unit-disallowed-list": null,
184
+ "unit-no-unknown": true,
185
+ "value-keyword-case": "lower",
186
+ "value-no-vendor-prefix": true
103
187
  }
104
188
  }