Skip to content

Commit

Permalink
chore: fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter committed Dec 30, 2023
1 parent 7921437 commit 9c8463e
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -9,7 +9,7 @@
"newline-per-chained-call": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"complexity": ["warn", 10],
"complexity": "off",
"global-require": "off",
"func-names": "off",
"lines-between-class-members": "off",
Expand Down
1 change: 0 additions & 1 deletion src/elements/Flag/Flag.d.ts
@@ -1,4 +1,3 @@
import * as React from 'react'
import { ForwardRefComponent } from '../../generic'

export type FlagNameValues =
Expand Down
2 changes: 0 additions & 2 deletions src/elements/Icon/Icon.d.ts
@@ -1,5 +1,3 @@
import * as React from 'react'

import { ForwardRefComponent, SemanticCOLORS, SemanticICONS } from '../../generic'
import IconGroup from './IconGroup'

Expand Down
1 change: 0 additions & 1 deletion src/elements/Image/Image.d.ts
Expand Up @@ -7,7 +7,6 @@ import {
SemanticShorthandItem,
SemanticSIZES,
SemanticVERTICALALIGNMENTS,
SemanticWIDTHS,
} from '../../generic'
import { DimmerProps } from '../../modules/Dimmer'
import { LabelProps } from '../Label'
Expand Down
1 change: 0 additions & 1 deletion src/elements/Placeholder/PlaceholderImage.d.ts
@@ -1,4 +1,3 @@
import * as React from 'react'
import { ForwardRefComponent } from '../../generic'

export interface PlaceholderImageProps extends StrictPlaceholderImageProps {
Expand Down
1 change: 0 additions & 1 deletion src/elements/Placeholder/PlaceholderLine.d.ts
@@ -1,4 +1,3 @@
import * as React from 'react'
import { ForwardRefComponent } from '../../generic'

export interface PlaceholderLineProps extends StrictPlaceholderLineProps {
Expand Down
4 changes: 3 additions & 1 deletion src/elements/Reveal/Reveal.d.ts
Expand Up @@ -41,6 +41,8 @@ export interface StrictRevealProps {
instant?: boolean
}

declare const Reveal: ForwardRefComponent<RevealProps, HTMLDivElement>
declare const Reveal: ForwardRefComponent<RevealProps, HTMLDivElement> & {
Content: typeof RevealContent
}

export default Reveal
2 changes: 0 additions & 2 deletions src/modules/Accordion/Accordion.d.ts
@@ -1,5 +1,3 @@
import * as React from 'react'

import AccordionAccordion, { StrictAccordionAccordionProps } from './AccordionAccordion'
import AccordionContent from './AccordionContent'
import AccordionPanel from './AccordionPanel'
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Popup/lib/createReferenceProxy.js
Expand Up @@ -23,7 +23,7 @@ class ReferenceProxy {
}

get contextElement() {
return this.ref.current;
return this.ref.current
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Tab/Tab.d.ts
@@ -1,7 +1,7 @@
import * as React from 'react'

import { ForwardRefComponent, SemanticShorthandItem } from '../../generic'
import TabPane, { TabPaneProps } from './TabPane'
import { TabPaneProps } from './TabPane'

export interface TabProps extends StrictTabProps {
[key: string]: any
Expand Down

0 comments on commit 9c8463e

Please sign in to comment.