Skip to content

Commit 55da0bb

Browse files
authoredNov 29, 2023
chore(css/linter): Document rules require porting (#8352)
1 parent a87d50b commit 55da0bb

File tree

1 file changed

+155
-0
lines changed

1 file changed

+155
-0
lines changed
 

‎crates/swc_css_lints/README.md

+155
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
# swc_css_lints
2+
3+
## Rules requires porting
4+
5+
### `csslint`
6+
7+
[Original source code](https://github.com/CSSLint/csslint/tree/49a748126ec0a6e4f6905a03c0eaece47ece04d3/src/rules)
8+
9+
- [ ] adjoining-classes.js
10+
- [ ] duplicate-properties.js
11+
- [ ] gradients.js
12+
- [ ] outline-none.js
13+
- [ ] selector-max.js
14+
- [ ] universal-selector.js
15+
- [ ] box-model.js
16+
- [x] empty-rules.js
17+
- [ ] ids.js
18+
- [ ] overqualified-elements.js
19+
- [ ] selector-newline.js
20+
- [ ] nqualified-attributes.js
21+
- [ ] box-sizing.js
22+
- [ ] errors.js
23+
- [ ] import-ie-limit.js
24+
- [ ] performant-transitions.js
25+
- [ ] shorthand.js
26+
- [ ] vendor-prefix.js
27+
- [ ] bulletproof-font-face.js
28+
- [ ] fallback-colors.js
29+
- [ ] import.js
30+
- [ ] qualified-headings.js
31+
- [ ] star-property-hack.js
32+
- [ ] zero-units.js
33+
- [ ] compatible-vendor-prefixes.js
34+
- [ ] floats.js
35+
- [ ] important.js
36+
- [ ] regex-selectors.js
37+
- [ ] display-property-grouping.js
38+
- [ ] font-faces.js
39+
- [ ] known-properties.js
40+
- [ ] rules-count.js
41+
- [ ] underscore-property-hack.js
42+
- [ ] duplicate-background-images.js
43+
- [ ] font-sizes.js
44+
- [ ] selector-max-approaching.js
45+
- [ ] unique-headings.js
46+
47+
### `stylelint`
48+
49+
[Original source code](https://github.com/stylelint/stylelint/tree/e7e54941b9376bc63d5c7343c1d1ef56eb0ab04c/lib/rules)
50+
51+
- [ ] declaration-property-max-values
52+
- [ ] media-feature-name-no-unknown
53+
- [ ] alpha-value-notation
54+
- [ ] declaration-property-unit-allowed-list
55+
- [ ] media-feature-name-no-vendor-prefix
56+
- [ ] selector-id-pattern
57+
- [ ] annotation-no-unknown
58+
- [ ] media-feature-name-unit-allowed-list
59+
- [ ] selector-max-attribute
60+
- [ ] declaration-property-value-allowed-list
61+
- [ ] media-feature-name-value-allowed-list
62+
- [x] selector-max-class
63+
- [ ] media-feature-name-value-no-unknown
64+
- [x] selector-max-combinators
65+
- [ ] declaration-property-value-no-unknown
66+
- [ ] media-feature-range-notation
67+
- [ ] selector-max-compound-selectors
68+
- [x] at-rule-no-unknown
69+
- [ ] font-family-name-quotes
70+
- [ ] media-query-no-invalid
71+
- [ ] selector-max-id
72+
- [ ] at-rule-no-vendor-prefix
73+
- [x] font-family-no-duplicate-names
74+
- [ ] named-grid-areas-no-invalid
75+
- [ ] selector-max-pseudo-class
76+
- [ ] at-rule-property-required-list
77+
- [ ] font-family-no-missing-generic-family-keyword
78+
- [ ] no-descending-specificity
79+
- [ ] selector-max-specificity
80+
- [x] block-no-empty
81+
- [ ] font-weight-notation
82+
- [ ] no-duplicate-at-import-rules
83+
- [ ] selector-max-type
84+
- [ ] color-function-notation
85+
- [ ] function-allowed-list
86+
- [ ] no-duplicate-selectors
87+
- [ ] selector-max-universal
88+
- [x] color-hex-alpha
89+
- [ ] function-calc-no-unspaced-operator
90+
- [x] no-empty-source
91+
- [ ] selector-nested-pattern
92+
- [x] color-hex-length
93+
- [ ] no-invalid-double-slash-comments
94+
- [ ] selector-no-qualifying-type
95+
- [ ] color-named
96+
- [ ] function-linear-gradient-no-nonstandard-direction
97+
- [x] no-invalid-position-at-import-rule
98+
- [ ] selector-no-vendor-prefix
99+
- [ ] color-no-hex
100+
- [ ] function-name-case
101+
- [ ] no-irregular-whitespace
102+
- [ ] selector-not-notation
103+
- [x] color-no-invalid-hex
104+
- [ ] function-no-unknown
105+
- [ ] no-unknown-animations
106+
- [ ] selector-pseudo-class-allowed-list
107+
- [ ] comment-empty-line-before
108+
- [ ] function-url-no-scheme-relative
109+
- [ ] no-unknown-custom-properties
110+
- [ ] comment-no-empty
111+
- [ ] function-url-quotes
112+
- [ ] number-max-precision
113+
- [ ] selector-pseudo-class-no-unknown
114+
- [ ] comment-pattern
115+
- [ ] function-url-scheme-allowed-list
116+
- [ ] property-allowed-list
117+
- [ ] selector-pseudo-element-allowed-list
118+
- [ ] comment-whitespace-inside
119+
- [ ] selector-pseudo-element-colon-notation
120+
- [ ] hue-degree-notation
121+
- [ ] property-no-unknown
122+
- [ ] custom-media-pattern
123+
- [ ] import-notation
124+
- [ ] property-no-vendor-prefix
125+
- [ ] selector-pseudo-element-no-unknown
126+
- [ ] custom-property-empty-line-before
127+
- [ ] rule-empty-line-before
128+
- [ ] selector-type-case
129+
- [x] custom-property-no-missing-var-function
130+
- [ ] selector-type-no-unknown
131+
- [ ] custom-property-pattern
132+
- [ ] keyframe-block-no-duplicate-selectors
133+
- [ ] selector-anb-no-unmatchable
134+
- [ ] shorthand-property-no-redundant-values
135+
- [ ] declaration-block-no-duplicate-custom-properties
136+
- [x] keyframe-declaration-no-important
137+
- [ ] string-no-newline
138+
- [ ] declaration-block-no-duplicate-properties
139+
- [ ] keyframe-selector-notation
140+
- [ ] selector-attribute-operator-allowed-list
141+
- [ ] time-min-milliseconds
142+
- [ ] declaration-block-no-redundant-longhand-properties
143+
- [ ] keyframes-name-pattern
144+
- [ ] unit-allowed-list
145+
- [ ] declaration-block-no-shorthand-property-overrides
146+
- [ ] length-zero-no-unit
147+
- [ ] selector-attribute-quotes
148+
- [ ] selector-class-pattern
149+
- [ ] unit-no-unknown
150+
- [ ] declaration-empty-line-before
151+
- [ ] media-feature-name-allowed-list
152+
- [ ] selector-combinator-allowed-list
153+
- [ ] value-keyword-case
154+
- [x] declaration-no-important
155+
- [ ] value-no-vendor-prefix

0 commit comments

Comments
 (0)
Please sign in to comment.