Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Apr 22, 2024
1 parent b85f05a commit eb0c993
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# NOTE: In general this should be kept in sync with .eslintignore

packages/**/dist/**
packages/**/build/**
packages/**/npm/**
packages/**/config/**
**/dist/**
**/build/**
**/npm/**
**/config/**
packages/**/.wxt/**
packages/playwright
packages/playwright-core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import Translate from '@docusaurus/Translate';
import React from 'react';

const CONTRIBUTORS = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import Translate from '@docusaurus/Translate';
import CommunityHeaderSvg from '@site/static/img/community-header.svg';
import React from 'react';

export default function CommunityHeader() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import Link from '@docusaurus/Link';
import Translate from '@docusaurus/Translate';
import React from 'react';

export default function CommunityHowToContribute() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import Link from '@docusaurus/Link';
import Translate from '@docusaurus/Translate';
import React from 'react';

import ImageSwitcher from '../ImageSwitcher';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Link from '@docusaurus/Link';
import * as Tabs from '@radix-ui/react-tabs';
import React, {useState} from 'react';
import {useState} from 'react';

const EXAMPLES = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import Translate from '@docusaurus/Translate';
import React from 'react';

const FeatureList = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import {useColorMode} from '@docusaurus/theme-common';
import React from 'react';

export default function ImageSwitcher({light, dark}) {
const Light = light;
Expand Down
1 change: 0 additions & 1 deletion packages/lexical-website/src/pages/community/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import CommunityHeader from '@site/src/components/CommunityHeader';
import CommunityHowToContribute from '@site/src/components/CommunityHowToContribute';
import CommunityLinks from '@site/src/components/CommunityLinks';
import Layout from '@theme/Layout';
import React from 'react';

export default function Community() {
const {siteConfig} = useDocusaurusContext();
Expand Down
2 changes: 1 addition & 1 deletion packages/lexical-website/src/pages/docs/error/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import BrowserOnly from '@docusaurus/BrowserOnly';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import React, {useMemo} from 'react';
import {useMemo} from 'react';

import codes from '../../../../../../scripts/error-codes/codes.json';

Expand Down
1 change: 0 additions & 1 deletion packages/lexical-website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import HomepageExamples from '@site/src/components/HomepageExamples';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Layout from '@theme/Layout';
import {inject} from '@vercel/analytics';
import React from 'react';

// activate analytics
inject();
Expand Down

0 comments on commit eb0c993

Please sign in to comment.