mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
chore: fix CSS import order ESLint rule (#7852)
* enhance: added ESLint ruler for CSS import * chore: added ruler for default import of css, and fixed all exsting files * chore: reverted changes on css header rulers
This commit is contained in:
parent
9150c7aefc
commit
f6835898bc
7 changed files with 24 additions and 6 deletions
|
@ -8,7 +8,6 @@
|
|||
import React from 'react';
|
||||
import clsx from 'clsx';
|
||||
import LiteYouTubeEmbed from 'react-lite-youtube-embed';
|
||||
import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css';
|
||||
import Link from '@docusaurus/Link';
|
||||
import Translate, {translate} from '@docusaurus/Translate';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
|
@ -23,6 +22,7 @@ import Quotes from '@site/src/data/quotes';
|
|||
import Features, {type FeatureItem} from '@site/src/data/features';
|
||||
|
||||
import styles from './styles.module.css';
|
||||
import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css';
|
||||
|
||||
function HeroBanner() {
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue