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.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # stylelint-config-recommended
  2. [![NPM version](https://img.shields.io/npm/v/stylelint-config-recommended.svg)](https://www.npmjs.org/package/stylelint-config-recommended) [![Build Status](https://github.com/stylelint/stylelint-config-recommended/workflows/CI/badge.svg)](https://github.com/stylelint/stylelint-config-recommended/actions)
  3. > The recommended shareable config for stylelint.
  4. It turns on all the [_possible errors_](https://stylelint.io/user-guide/rules#possible-errors) rules within stylelint.
  5. Use it as is or as a foundation for your own config.
  6. ## Installation
  7. ```bash
  8. npm install stylelint-config-recommended --save-dev
  9. ```
  10. ## Usage
  11. If you've installed `stylelint-config-recommended` locally within your project, just set your `stylelint` config to:
  12. ```json
  13. {
  14. "extends": "stylelint-config-recommended"
  15. }
  16. ```
  17. If you've globally installed `stylelint-config-recommended` using the `-g` flag, then you'll need to use the absolute path to `stylelint-config-recommended` in your config e.g.
  18. ```json
  19. {
  20. "extends": "/absolute/path/to/stylelint-config-recommended"
  21. }
  22. ```
  23. Since [stylelint 9.7.0](https://github.com/stylelint/stylelint/blob/9.7.0/CHANGELOG.md#970), you can simply use the globally installed configuration name instead of the absolute path:
  24. ```json
  25. {
  26. "extends": "stylelint-config-recommended"
  27. }
  28. ```
  29. ### Extending the config
  30. Simply add a `"rules"` key to your config, then add your overrides and additions there.
  31. For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules` option, turn off the `block-no-empty` rule, and add the `unit-allowed-list` rule:
  32. ```json
  33. {
  34. "extends": "stylelint-config-recommended",
  35. "rules": {
  36. "at-rule-no-unknown": [
  37. true,
  38. {
  39. "ignoreAtRules": ["extends"]
  40. }
  41. ],
  42. "block-no-empty": null,
  43. "unit-allowed-list": ["em", "rem", "s"]
  44. }
  45. }
  46. ```
  47. ## [Changelog](CHANGELOG.md)
  48. ## [License](LICENSE)