1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(app): add github action for linting and formatting [EE-2344] (#6356)

This commit is contained in:
Chaim Lev-Ari 2022-01-17 07:53:32 +02:00 committed by GitHub
parent 34cc8ea96a
commit 1b1a50d6b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
313 changed files with 2685 additions and 3873 deletions

View file

@ -52,8 +52,9 @@ import { UseSelectColumnTableOptions } from '@lineup-lite/hooks';
declare module 'react-table' {
// take this file as-is, or comment out the sections that don't apply to your plugin configuration
export interface TableOptions<D extends Record<string, unknown>>
extends UseExpandedOptions<D>,
export interface TableOptions<
D extends Record<string, unknown>
> extends UseExpandedOptions<D>,
UseFiltersOptions<D>,
UseGlobalFiltersOptions<D>,
UseGroupByOptions<D>,
@ -71,16 +72,14 @@ declare module 'react-table' {
export interface Hooks<
D extends Record<string, unknown> = Record<string, unknown>
>
extends UseExpandedHooks<D>,
> extends UseExpandedHooks<D>,
UseGroupByHooks<D>,
UseRowSelectHooks<D>,
UseSortByHooks<D> {}
export interface TableInstance<
D extends Record<string, unknown> = Record<string, unknown>
>
extends UseColumnOrderInstanceProps<D>,
> extends UseColumnOrderInstanceProps<D>,
UseExpandedInstanceProps<D>,
UseFiltersInstanceProps<D>,
UseGlobalFiltersInstanceProps<D>,
@ -92,8 +91,7 @@ declare module 'react-table' {
export interface TableState<
D extends Record<string, unknown> = Record<string, unknown>
>
extends UseColumnOrderState<D>,
> extends UseColumnOrderState<D>,
UseExpandedState<D>,
UseFiltersState<D>,
UseGlobalFiltersState<D>,
@ -106,8 +104,7 @@ declare module 'react-table' {
export interface ColumnInterface<
D extends Record<string, unknown> = Record<string, unknown>
>
extends UseFiltersColumnOptions<D>,
> extends UseFiltersColumnOptions<D>,
UseGlobalFiltersColumnOptions<D>,
UseGroupByColumnOptions<D>,
UseResizeColumnsColumnOptions<D>,
@ -118,8 +115,7 @@ declare module 'react-table' {
export interface ColumnInstance<
D extends Record<string, unknown> = Record<string, unknown>
>
extends UseFiltersColumnProps<D>,
> extends UseFiltersColumnProps<D>,
UseGroupByColumnProps<D>,
UseResizeColumnsColumnProps<D>,
UseSortByColumnProps<D> {
@ -130,8 +126,7 @@ declare module 'react-table' {
D extends Record<string, unknown> = Record<string, unknown>,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
V = any
>
extends UseTableCellProps<D, V>,
> extends UseTableCellProps<D, V>,
UseGroupByCellProps<D>,
UseRowStateCellProps<D> {
className?: string;
@ -139,8 +134,7 @@ declare module 'react-table' {
export interface Row<
D extends Record<string, unknown> = Record<string, unknown>
>
extends UseExpandedRowProps<D>,
> extends UseExpandedRowProps<D>,
UseGroupByRowProps<D>,
UseRowSelectRowProps<D>,
UseRowStateRowProps<D> {}