swc_css_lints

Crates.ioswc_css_lints
lib.rsswc_css_lints
version
sourcesrc
created_at2022-02-27 15:33:19.956754
updated_at2024-11-06 06:33:15.175715
descriptionCSS linter
homepage
repositoryhttps://github.com/swc-project/swc.git
max_upload_size
id540398
Cargo.toml error:TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
SWC Bot (swc-bot)

documentation

https://rustdoc.swc.rs/swc_css_lints/

README

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
Commit count: 9859

cargo fmt