From 3976108bddce28f30f42ae8e9521a4f2cfddc65e Mon Sep 17 00:00:00 2001 From: 1aron Date: Wed, 25 Oct 2023 16:58:05 +0800 Subject: [PATCH] Update docs --- docs/code-linting/content.mdx | 9 ++++++--- docs/eslint/content.mdx | 10 +++++++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/code-linting/content.mdx b/docs/code-linting/content.mdx index 24142abb1..4adf60a21 100644 --- a/docs/code-linting/content.mdx +++ b/docs/code-linting/content.mdx @@ -37,9 +37,9 @@ import Features, { Feature } from 'shared/components/Features'
- **[Supports CSS-in-JS](#supports-css-in-js)** + **[Supports JS utilities](#supports-js-utilities)** - Avoid declaring the identical CSS property repeatedly + Check the classes in popular utility arguments
@@ -115,4 +115,7 @@ export default { ### Conflicting class checks 🚧 Soon... -### Supports CSS-in-JS \ No newline at end of file +### Supports JS utilities + \ No newline at end of file diff --git a/docs/eslint/content.mdx b/docs/eslint/content.mdx index 86ca0178d..8f7a1d34e 100644 --- a/docs/eslint/content.mdx +++ b/docs/eslint/content.mdx @@ -1,4 +1,5 @@ import defaultConfigurationScript from '../../packages/eslint-config/index.js?text' +import defaultSettings from '../../packages/eslint-plugin/lib/settings.js?text' ## Usage [sr-only] @@ -43,4 +44,11 @@ Set `disallowTraditionalClass: true` to disallow using traditional classes: }] } } -``` \ No newline at end of file +``` + +--- + +## Settings + + {defaultSettings} + \ No newline at end of file