From df8f9b98a9c49ef86fc58f9582cc1a400bfd67c7 Mon Sep 17 00:00:00 2001 From: Tim Kutnick Date: Mon, 19 Dec 2022 10:29:29 -0800 Subject: [PATCH 1/2] add linaria to list of compatible custom syntaxes --- docs/developer-guide/syntaxes.md | 1 + docs/user-guide/get-started.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/developer-guide/syntaxes.md b/docs/developer-guide/syntaxes.md index 581e18eac9..3d4fd3063e 100644 --- a/docs/developer-guide/syntaxes.md +++ b/docs/developer-guide/syntaxes.md @@ -10,6 +10,7 @@ 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. diff --git a/docs/user-guide/get-started.md b/docs/user-guide/get-started.md index cace08acb1..326cf827c8 100644 --- a/docs/user-guide/get-started.md +++ b/docs/user-guide/get-started.md @@ -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 From a33441e4218346597269490a0fcc3b62c2a3b942 Mon Sep 17 00:00:00 2001 From: Tim Kutnick Date: Mon, 19 Dec 2022 10:32:57 -0800 Subject: [PATCH 2/2] update latter two to three --- docs/developer-guide/syntaxes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-guide/syntaxes.md b/docs/developer-guide/syntaxes.md index 3d4fd3063e..f3a5c6af22 100644 --- a/docs/developer-guide/syntaxes.md +++ b/docs/developer-guide/syntaxes.md @@ -12,7 +12,7 @@ Existing syntaxes that you can use for reference include: - [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: