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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # selector-no-vendor-prefix
  2. Disallow vendor prefixes for selectors.
  3. <!-- prettier-ignore -->
  4. ```css
  5. input::-moz-placeholder {}
  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 selector 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 selector, one that Autoprefixer would ignore and could not provide, 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. input::-moz-placeholder {}
  17. ```
  18. <!-- prettier-ignore -->
  19. ```css
  20. :-webkit-full-screen a {}
  21. ```
  22. The following patterns are _not_ considered violations:
  23. <!-- prettier-ignore -->
  24. ```css
  25. input::placeholder {}
  26. ```
  27. <!-- prettier-ignore -->
  28. ```css
  29. :full-screen a {}
  30. ```
  31. ## Optional secondary options
  32. ### `ignoreSelectors: ["/regex/", "non-regex"]`
  33. Ignore vendor prefixes for selectors.
  34. Given:
  35. ```
  36. ["::-webkit-input-placeholder", "/-moz-.*/"]
  37. ```
  38. The following patterns are _not_ considered violations:
  39. <!-- prettier-ignore -->
  40. ```css
  41. input::-webkit-input-placeholder {
  42. color: pink;
  43. }
  44. input::-moz-placeholder {
  45. color: pink;
  46. }
  47. ```