From 8e9b4a55d2ea9e53a2aff14f55e03622faae97a8 Mon Sep 17 00:00:00 2001 From: Maaz Syed Adeeb Date: Fri, 27 Dec 2019 10:53:09 +0530 Subject: [PATCH 1/2] Add a VSCode tip in the CSS reset section A warning kept popping up in my editor. Narrowed it down to https://github.com/Microsoft/vscode/issues/53175. Adding the suggestion as a tip. --- docusaurus/docs/adding-css-reset.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docusaurus/docs/adding-css-reset.md b/docusaurus/docs/adding-css-reset.md index 23821829c3e..16ca9eb9f78 100644 --- a/docusaurus/docs/adding-css-reset.md +++ b/docusaurus/docs/adding-css-reset.md @@ -16,6 +16,8 @@ To start using it, add `@import-normalize;` anywhere in your CSS file(s). You on /* rest of app styles */ ``` +> **Tip**: If you see an "_Unknown at rule @import-normalize css(unknownAtRules)_" warning in your VSCode editor, change `css.lint.unknownAtRules` to `ignore`. + You can control which parts of [normalize.css] to use via your project's [browserslist]. Results when [browserslist] is `last 3 versions`: From efff17e59a9892fe0d12076cc749343f3cbe769b Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Mon, 4 May 2020 20:52:34 -0600 Subject: [PATCH 2/2] Update adding-css-reset.md --- docusaurus/docs/adding-css-reset.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/adding-css-reset.md b/docusaurus/docs/adding-css-reset.md index 16ca9eb9f78..4b5b976c8a0 100644 --- a/docusaurus/docs/adding-css-reset.md +++ b/docusaurus/docs/adding-css-reset.md @@ -16,7 +16,7 @@ To start using it, add `@import-normalize;` anywhere in your CSS file(s). You on /* rest of app styles */ ``` -> **Tip**: If you see an "_Unknown at rule @import-normalize css(unknownAtRules)_" warning in your VSCode editor, change `css.lint.unknownAtRules` to `ignore`. +> **Tip**: If you see an "_Unknown at rule @import-normalize css(unknownAtRules)_" warning in VSCode, change the `css.lint.unknownAtRules` setting to `ignore`. You can control which parts of [normalize.css] to use via your project's [browserslist].