Files
react-native-devtools-frontend/node_modules/stylelint/lib/rules/property-case
Mathias Bynens 79e2cf0633 Add stylelint dependency
This also adds CC-BY-4.0 to the list of accepted licenses.

DISABLE_THIRD_PARTY_CHECK=update dependencies

Bug: chromium:1083142
Change-Id: I8612de2fba52dae32eeb71af79d5aacfde52142b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2220097
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
2020-06-11 06:20:04 +00:00
..
2020-06-11 06:20:04 +00:00
2020-06-11 06:20:04 +00:00

property-case

Specify lowercase or uppercase for properties.

    a { width: 1px; }
/**     ↑
 * This property */

The fix option can automatically fix all of the problems reported by this rule.

Options

string: "lower"|"upper"

"lower"

The following patterns are considered violations:

a {
  Width: 1px
}
a {
  WIDTH: 1px
}
a {
  widtH: 1px
}
a {
  border-Radius: 5px;
}
a {
  -WEBKIT-animation-duration: 3s;
}
@media screen and (orientation: landscape) {
  WiDtH: 500px;
}

The following patterns are not considered violations:

a {
  width: 1px
}
a {
  border-radius: 5px;
}
a {
  -webkit-animation-duration: 3s;
}
@media screen and (orientation: landscape) {
  width: 500px;
}

"upper"

The following patterns are considered violations:

a {
  Width: 1px
}
a {
  width: 1px
}
a {
  widtH: 1px
}
a {
  border-Radius: 5px;
}
a {
  -WEBKIT-animation-duration: 3s;
}
@media screen and (orientation: landscape) {
  WiDtH: 500px;
}

The following patterns are not considered violations:

a {
  WIDTH: 1px
}
a {
  BORDER-RADIUS: 5px;
}
a {
  -WEBKIT-ANIMATION-DURATION: 3s;
}
@media screen and (orientation: landscape) {
  WIDTH: 500px;
}