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.

syntaxes.md 1.8KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Working on syntaxes
  2. Please help us enhance and debug the [syntaxes](../about/syntaxes.md) we use in stylelint:
  3. - [postcss-css-in-js](https://github.com/stylelint/postcss-css-in-js)
  4. - [postcss-html](https://github.com/gucong3000/postcss-html)
  5. - [postcss-less](https://github.com/webschik/postcss-less)
  6. - [postcss-markdown](https://github.com/stylelint/postcss-markdown)
  7. - [postcss-sass](https://github.com/AleshaOleg/postcss-sass)
  8. - [postcss-scss](https://github.com/postcss/postcss-scss)
  9. To contribute to a syntax, you should:
  10. 1. Familiarize yourself with PostCSS's [how to write custom syntax](https://github.com/postcss/postcss/blob/master/docs/syntax.md) guide.
  11. 2. Use the [`syntax: *` labels](https://github.com/stylelint/stylelint/labels?utf8=%E2%9C%93&q=syntax%3A) to identify which syntax is behind an issue.
  12. 3. Go to the repository for that syntax.
  13. 4. Read their contributing guidelines.
  14. ## Workarounds
  15. Fixing bugs in syntaxes can take time. stylelint can work around these bug by turning off autofix for incompatible sources. Autofix can then remain safe to use while contributors try to fix the underlying issue.
  16. ### Current workarounds
  17. stylelint currently turns off autofix for sources that contain:
  18. - ~~nested tagged template literals ([issue #4119](https://github.com/stylelint/stylelint/issues/4119))~~
  19. ### Add a workaround
  20. To add a new workaround, you should:
  21. 1. Add code to [`lib/lintSource.js`](https://github.com/stylelint/stylelint/blob/master/lib/lintSource.js) to detect the incompatible pattern.
  22. 2. Add a corresponding test to [`lib/__tests__/standalone-fix.test.js`](https://github.com/stylelint/stylelint/blob/master/lib/__tests__/standalone-fix.test.js).
  23. 3. Document the workaround in [`docs/developer-guides/syntaxes.md`](https://github.com/stylelint/stylelint/blob/master/docs/developer-guide/syntaxes.md).