252 releases (4 major breaking)

new 4.0.0 Nov 6, 2024
3.0.0 Nov 1, 2024
2.0.0 Oct 29, 2024
1.0.0 Oct 12, 2024
0.9.1 Mar 19, 2022

#2227 in Web programming

Download history 221/week @ 2024-07-15 46/week @ 2024-07-22 111/week @ 2024-08-05 1/week @ 2024-08-12 133/week @ 2024-09-09 121/week @ 2024-09-16 214/week @ 2024-09-23 68/week @ 2024-09-30 138/week @ 2024-10-07 28/week @ 2024-10-14 225/week @ 2024-10-28

393 downloads per month

Apache-2.0

4.5MB
120K SLoC

swc_css_lints

Rules requires porting

csslint

Original source code

  • adjoining-classes.js
  • duplicate-properties.js
  • gradients.js
  • outline-none.js
  • selector-max.js
  • universal-selector.js
  • box-model.js
  • empty-rules.js
  • ids.js
  • overqualified-elements.js
  • selector-newline.js
  • nqualified-attributes.js
  • box-sizing.js
  • errors.js
  • import-ie-limit.js
  • performant-transitions.js
  • shorthand.js
  • vendor-prefix.js
  • bulletproof-font-face.js
  • fallback-colors.js
  • import.js
  • qualified-headings.js
  • star-property-hack.js
  • zero-units.js
  • compatible-vendor-prefixes.js
  • floats.js
  • important.js
  • regex-selectors.js
  • display-property-grouping.js
  • font-faces.js
  • known-properties.js
  • rules-count.js
  • underscore-property-hack.js
  • duplicate-background-images.js
  • font-sizes.js
  • selector-max-approaching.js
  • unique-headings.js

stylelint

Original source code

  • declaration-property-max-values
  • media-feature-name-no-unknown
  • alpha-value-notation
  • declaration-property-unit-allowed-list
  • media-feature-name-no-vendor-prefix
  • selector-id-pattern
  • annotation-no-unknown
  • media-feature-name-unit-allowed-list
  • selector-max-attribute
  • declaration-property-value-allowed-list
  • media-feature-name-value-allowed-list
  • selector-max-class
  • media-feature-name-value-no-unknown
  • selector-max-combinators
  • declaration-property-value-no-unknown
  • media-feature-range-notation
  • selector-max-compound-selectors
  • at-rule-no-unknown
  • font-family-name-quotes
  • media-query-no-invalid
  • selector-max-id
  • at-rule-no-vendor-prefix
  • font-family-no-duplicate-names
  • named-grid-areas-no-invalid
  • selector-max-pseudo-class
  • at-rule-property-required-list
  • font-family-no-missing-generic-family-keyword
  • no-descending-specificity
  • selector-max-specificity
  • block-no-empty
  • font-weight-notation
  • no-duplicate-at-import-rules
  • selector-max-type
  • color-function-notation
  • function-allowed-list
  • no-duplicate-selectors
  • selector-max-universal
  • color-hex-alpha
  • function-calc-no-unspaced-operator
  • no-empty-source
  • selector-nested-pattern
  • color-hex-length
  • no-invalid-double-slash-comments
  • selector-no-qualifying-type
  • color-named
  • function-linear-gradient-no-nonstandard-direction
  • no-invalid-position-at-import-rule
  • selector-no-vendor-prefix
  • color-no-hex
  • function-name-case
  • no-irregular-whitespace
  • selector-not-notation
  • color-no-invalid-hex
  • function-no-unknown
  • no-unknown-animations
  • selector-pseudo-class-allowed-list
  • comment-empty-line-before
  • function-url-no-scheme-relative
  • no-unknown-custom-properties
  • comment-no-empty
  • function-url-quotes
  • number-max-precision
  • selector-pseudo-class-no-unknown
  • comment-pattern
  • function-url-scheme-allowed-list
  • property-allowed-list
  • selector-pseudo-element-allowed-list
  • comment-whitespace-inside
  • selector-pseudo-element-colon-notation
  • hue-degree-notation
  • property-no-unknown
  • custom-media-pattern
  • import-notation
  • property-no-vendor-prefix
  • selector-pseudo-element-no-unknown
  • custom-property-empty-line-before
  • rule-empty-line-before
  • selector-type-case
  • custom-property-no-missing-var-function
  • selector-type-no-unknown
  • custom-property-pattern
  • keyframe-block-no-duplicate-selectors
  • selector-anb-no-unmatchable
  • shorthand-property-no-redundant-values
  • declaration-block-no-duplicate-custom-properties
  • keyframe-declaration-no-important
  • string-no-newline
  • declaration-block-no-duplicate-properties
  • keyframe-selector-notation
  • selector-attribute-operator-allowed-list
  • time-min-milliseconds
  • declaration-block-no-redundant-longhand-properties
  • keyframes-name-pattern
  • unit-allowed-list
  • declaration-block-no-shorthand-property-overrides
  • length-zero-no-unit
  • selector-attribute-quotes
  • selector-class-pattern
  • unit-no-unknown
  • declaration-empty-line-before
  • media-feature-name-allowed-list
  • selector-combinator-allowed-list
  • value-keyword-case
  • declaration-no-important
  • value-no-vendor-prefix

Dependencies

~10–17MB
~221K SLoC