Skip to content

Commit

Permalink
Merge 3976108
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 25, 2023
2 parents e2cc619 + 3976108 commit f916e4b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
9 changes: 6 additions & 3 deletions docs/code-linting/content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ import Features, { Feature } from 'shared/components/Features'
<Feature>
<IconFunction className="app-icon-primary" />
<div>
**[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
</div>
</Feature>
</Features>
Expand Down Expand Up @@ -115,4 +115,7 @@ export default {
### Conflicting class checks 🚧
Soon...

### Supports CSS-in-JS
### Supports JS utilities
<video className="aspect:2/1 r:5 max-w:xs" autoPlay loop muted playsInline>
<source src="/videos/supports-js-utilities.webm" type="video/webm" />
</video>
10 changes: 9 additions & 1 deletion docs/eslint/content.mdx
Original file line number Diff line number Diff line change
@@ -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]

Expand Down Expand Up @@ -43,4 +44,11 @@ Set `disallowTraditionalClass: true` to disallow using traditional classes:
}]
}
}
```
```

---

## Settings
<Code lang="js">
{defaultSettings}
</Code>

0 comments on commit f916e4b

Please sign in to comment.