Skip to content

Commit

Permalink
Add @linaria/postcss-linaria to list of compatible custom syntaxes (#…
Browse files Browse the repository at this point in the history
…6535)

Co-authored-by: Tim Kutnick <tim.kutnick@airbnb.com>
  • Loading branch information
kutnickclose and Tim Kutnick committed Dec 23, 2022
1 parent 4d32d36 commit cae5880
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/developer-guide/syntaxes.md
Expand Up @@ -10,8 +10,9 @@ Existing syntaxes that you can use for reference include:
- [postcss-less](https://www.npmjs.com/package/postcss-less)
- [postcss-html](https://www.npmjs.com/package/postcss-html)
- [postcss-lit](https://www.npmjs.com/package/postcss-lit)
- [@linaria/postcss-linaria](https://www.npmjs.com/package/@linaria/postcss-linaria)

The latter two use `Document` nodes, [introduced in PostCSS 8.3](https://github.com/postcss/postcss/releases/tag/8.3.0) to support files with multiple roots.
The latter three use `Document` nodes, [introduced in PostCSS 8.3](https://github.com/postcss/postcss/releases/tag/8.3.0) to support files with multiple roots.

After publishing your custom syntax, we recommend creating a shared-config that:

Expand Down
1 change: 1 addition & 0 deletions docs/user-guide/get-started.md
Expand Up @@ -116,6 +116,7 @@ Other PostCSS syntaxes known to be compatible with Stylelint include:
- [postcss-less](https://www.npmjs.com/package/postcss-less)
- [postcss-sass](https://www.npmjs.com/package/postcss-sass)
- [sugarss](https://www.npmjs.com/package/sugarss)
- [@linaria/postcss-linaria](https://www.npmjs.com/package/@linaria/postcss-linaria)

### Using more than one custom syntax

Expand Down

0 comments on commit cae5880

Please sign in to comment.