Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # property-no-vendor-prefix
  2. Disallow vendor prefixes for properties.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { -webkit-transform: scale(1); }
  6. /** ↑
  7. * This prefix */
  8. ```
  9. This rule does not blanketly condemn vendor prefixes. Instead, it uses [Autoprefixer's](https://github.com/postcss/autoprefixer) up-to-date data (from [caniuse.com](http://caniuse.com/)) to know whether a vendor prefix should cause a violation or not. _If you've included a vendor prefixed property that has a standard alternative, one that Autoprefixer could take care of for you, this rule will complain about it_. If, however, you use a non-standard vendor-prefixed property, one that Autoprefixer would ignore and could not provide (such as `-webkit-touch-callout`), this rule will ignore it.
  10. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
  11. ## Options
  12. ### `true`
  13. The following patterns are considered violations:
  14. <!-- prettier-ignore -->
  15. ```css
  16. a { -webkit-transform: scale(1); }
  17. ```
  18. <!-- prettier-ignore -->
  19. ```css
  20. a { -moz-columns: 2; }
  21. ```
  22. The following patterns are _not_ considered violations:
  23. <!-- prettier-ignore -->
  24. ```css
  25. a { transform: scale(1); }
  26. ```
  27. <!-- prettier-ignore -->
  28. ```css
  29. a {
  30. columns: 2; }
  31. ```
  32. <!-- prettier-ignore -->
  33. ```css
  34. a { -webkit-touch-callout: none; }
  35. ```
  36. ## Optional secondary options
  37. ### `ignoreProperties: ["/regex/", /regex/, "string"]`
  38. Given:
  39. ```
  40. ["transform", "columns"]
  41. ```
  42. The following patterns are _not_ considered violations:
  43. <!-- prettier-ignore -->
  44. ```css
  45. a { -webkit-transform: scale(1); }
  46. ```
  47. <!-- prettier-ignore -->
  48. ```css
  49. a { -moz-columns: 2; }
  50. ```