Skip to content

Commit 00423e5

Browse files
authored
Merge pull request #12 from paceaux/develop
Develop
2 parents 1225e51 + bf0cf9e commit 00423e5

File tree

6 files changed

+427
-110
lines changed

6 files changed

+427
-110
lines changed

.stylelintrc

+227
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
{
2+
"extends": "stylelint-config-standard",
3+
"plugins": [
4+
"stylelint-order"
5+
],
6+
"rules": {
7+
"alpha-value-notation": "number",
8+
"color-function-notation": ["legacy", {
9+
"ignore": ["with-var-inside"]
10+
}],
11+
"comment-whitespace-inside": null,
12+
"custom-property-pattern": "^[a-z][a-zA-Z]+$",
13+
"custom-property-empty-line-before": null,
14+
"selector-type-no-unknown": null,
15+
"string-quotes": "double",
16+
"order/properties-order": [
17+
"content",
18+
19+
"quotes",
20+
"counter-reset",
21+
"counter-increment",
22+
"resize",
23+
"nav-index",
24+
"nav-up",
25+
"nav-right",
26+
"nav-down",
27+
"nav-left",
28+
"list-style",
29+
"list-style-position",
30+
"list-style-type",
31+
"list-style-image",
32+
33+
"align-self",
34+
"justify-self",
35+
"order",
36+
37+
"position",
38+
"top",
39+
"right",
40+
"bottom",
41+
"left",
42+
"z-index",
43+
44+
"display",
45+
"visibility",
46+
"float",
47+
"clear",
48+
"overflow",
49+
"overflow-x",
50+
"overflow-y",
51+
52+
"clip",
53+
"zoom",
54+
55+
"object-fit",
56+
"object-position",
57+
58+
"color",
59+
"font",
60+
"font-family",
61+
"src",
62+
"font-variant-alternates",
63+
"font-weight",
64+
"font-style",
65+
"font-variant",
66+
"font-size-adjust",
67+
"font-stretch",
68+
"font-effect",
69+
"font-emphasize",
70+
"font-emphasize-position",
71+
"font-emphasize-style",
72+
"font-smooth",
73+
"text-align",
74+
"text-align-last",
75+
"vertical-align",
76+
"white-space",
77+
"text-emphasis",
78+
"text-emphasis-color",
79+
"text-emphasis-style",
80+
"text-emphasis-position",
81+
"text-indent",
82+
"text-justify",
83+
"text-transform",
84+
"letter-spacing",
85+
"word-spacing",
86+
"text-outline",
87+
"text-wrap",
88+
"text-overflow",
89+
"text-overflow-ellipsis",
90+
"text-overflow-mode",
91+
"word-wrap",
92+
"word-break",
93+
"tab-size",
94+
"hyphens",
95+
"text-decoration",
96+
"text-shadow",
97+
"font-size",
98+
"line-height",
99+
100+
"box-sizing",
101+
"padding",
102+
"padding-top",
103+
"padding-right",
104+
"padding-bottom",
105+
"padding-left",
106+
"padding-block-start",
107+
"padding-block-end",
108+
"padding-inline-start",
109+
"padding-inline-end",
110+
"width",
111+
"min-width",
112+
"max-width",
113+
"height",
114+
"min-height",
115+
"max-height",
116+
117+
"border",
118+
"border-collapse",
119+
"border-width",
120+
"border-style",
121+
"border-color",
122+
"border-top",
123+
"border-top-width",
124+
"border-top-style",
125+
"border-top-color",
126+
"border-right",
127+
"border-right-width",
128+
"border-right-style",
129+
"border-right-color",
130+
"border-bottom",
131+
"border-bottom-width",
132+
"border-bottom-style",
133+
"border-bottom-color",
134+
"border-left",
135+
"border-left-width",
136+
"border-left-style",
137+
"border-left-color",
138+
"border-block-start",
139+
"border-block-start-width",
140+
"border-block-start-style",
141+
"border-block-start-color",
142+
"border-inline-end",
143+
"border-inline-end-width",
144+
"border-inline-end-style",
145+
"border-inline-end-color",
146+
"border-block-end",
147+
"border-block-end-width",
148+
"border-block-end-style",
149+
"border-block-end-color",
150+
"border-inline-start",
151+
"border-inline-start-width",
152+
"border-inline-start-style",
153+
"border-inline-start-color",
154+
155+
"border-radius",
156+
"border-top-left-radius",
157+
"border-top-right-radius",
158+
"border-bottom-right-radius",
159+
"border-bottom-left-radius",
160+
"border-image",
161+
"border-image-source",
162+
"border-image-slice",
163+
"border-image-width",
164+
"border-image-outset",
165+
"border-image-repeat",
166+
167+
"background",
168+
"background-color",
169+
"background-image",
170+
"background-repeat",
171+
"background-attachment",
172+
"background-position",
173+
"background-position-x",
174+
"background-position-y",
175+
"background-clip",
176+
"background-origin",
177+
"background-size",
178+
179+
"margin",
180+
"margin-top",
181+
"margin-right",
182+
"margin-bottom",
183+
"margin-left",
184+
"margin-block-start",
185+
"margin-block-end",
186+
"margin-inline-start",
187+
"margin-inline-end",
188+
189+
190+
"direction",
191+
"unicode-bidi",
192+
"orphans",
193+
"widows",
194+
195+
196+
"outline",
197+
"outline-width",
198+
"outline-style",
199+
"outline-color",
200+
"outline-offset",
201+
202+
"box-decoration-break",
203+
"box-shadow",
204+
205+
"opacity",
206+
"filter",
207+
"transition",
208+
"transition-delay",
209+
"transition-timing-function",
210+
"transition-duration",
211+
"transition-property",
212+
"transform",
213+
"transform-origin",
214+
"animation",
215+
"animation-name",
216+
"animation-duration",
217+
"animation-play-state",
218+
"animation-timing-function",
219+
"animation-delay",
220+
"animation-iteration-count",
221+
"animation-direction",
222+
"cursor",
223+
"user-select",
224+
"pointer-events"
225+
]
226+
}
227+
}

CONTRIBUTING.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform
2828

2929
* What steps will reproduce the issue? (i.e. The minimum amount of code that shows the problem)
3030
* What browser(s) and OS experience the problem? (i.e. Browsers and operating systems with exact version numbers )
31-
* What would you expect to be the outcome and what _is_ the outcome? (i.e. "was expecting `font-size` to e `17px`, it is `21px` )
31+
* What would you expect to be the outcome and what _is_ the outcome? (i.e. "was expecting `font-size` to be `17px`, it is `21px` )
3232

3333
All these details will help people to fix any potential bugs.
3434

@@ -135,8 +135,11 @@ If you have commit access, please follow this process for merging patches, minor
135135
136136
Semver is a widely accepted method for deciding how version numbers are incremented in a project. Versions are written as MAJOR.MINOR.PATCH.
137137
138-
Any change to CSS rules is considered backwards-breaking and will result in a new major release. No changes to CSS _rules_ can add functionality in a backwards-compatible manner, therefore no changes are considered minor.
138+
Almost any change to CSS rules is considered backwards-breaking and will result in a new major release. No changes to CSS _rules_ can add functionality in a backwards-compatible manner, therefore almost no changes are considered minor.
139139
140-
_Adding_ CSS Variables (without applying them to any rules) is considered a minor release. Changes to documentation or the test.html file also qualify as a minor release.
140+
The only exceptions are:
141141
142-
Corrections to documentation count as a patch.
142+
- _Adding_ CSS Variables (without applying them to any rules). This considered a minor release.
143+
- Changes to documentation or the test.html file. This qualifies as a minor release.
144+
- Changes to the linter or tester. This qualifies as a minor release.
145+
- _Corrections_ to documentation count as a patch.

0 commit comments

Comments
 (0)