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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # stylelint-config-prettier
  2. [![NPM version][npm-img]][npm-url] [![Downloads][downloads-img]][npm-url] [![Build Status][travis-img]][travis-url]
  3. Turns off all rules that are unnecessary or might conflict with Prettier. This lets you use your favorite shareable config without letting its stylistic choices get in the way when using Prettier.
  4. ## Installation
  5. Install `stylelint-config-prettier`:
  6. ```
  7. $ npm install --save-dev stylelint-config-prettier
  8. ```
  9. Then, append `stylelint-config-prettier` to the [`extends` array](https://stylelint.io/user-guide/configuration/#extends) in your `.stylelintrc.*` file. Make sure to put it **last,** so it will override other configs.
  10. ```js
  11. {
  12. "extends": [
  13. // other configs ...
  14. "stylelint-config-prettier"
  15. ]
  16. }
  17. ```
  18. ## CLI helper tool
  19. `stylelint-config-prettier` is shipped with a little CLI tool to help you check if your configuration contains any rules that are in conflict with Prettier.
  20. In order to execute the CLI tool, first add a script for it to `package.json`:
  21. ```json
  22. {
  23. "scripts": {
  24. "stylelint-check": "stylelint-config-prettier-check"
  25. }
  26. }
  27. ```
  28. Then run `npm run stylelint-check`.
  29. ## Attribution
  30. - Inspired by [`eslint-config-prettier`](http://npm.im/eslint-config-prettier).
  31. - CLI helper inspired by [`tslint-config-prettier`](https://github.com/alexjoverm/tslint-config-prettier).
  32. - Original disabled ruleset copied from [`prettier-stylelint`](http://npm.im/prettier-stylelint).
  33. ----
  34. [MIT](license)
  35. [downloads-img]: http://img.shields.io/npm/dm/stylelint-config-prettier.svg?style=flat-square
  36. [npm-img]: http://img.shields.io/npm/v/stylelint-config-prettier.svg?style=flat-square
  37. [npm-url]: https://npmjs.org/package/stylelint-config-prettier
  38. [travis-img]: http://img.shields.io/travis/prettier/stylelint-config-prettier.svg?style=flat-square
  39. [travis-url]: https://travis-ci.org/prettier/stylelint-config-prettier