Merge pull request #180 from vegaprotocol/chore/linting-errors

Chore/Fix lint warnings
This commit is contained in:
Edd 2022-04-01 11:09:26 +01:00 committed by GitHub
commit c4d10d04af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 10 additions and 12 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Check formatting
run: yarn nx format:check
- name: Lint affected
run: yarn nx affected:lint
run: yarn nx affected:lint --max-warnings=0
- name: Test affected
run: yarn nx affected:test
- name: Build affected
@ -60,7 +60,7 @@ jobs:
- name: Check formatting
run: yarn nx format:check
- name: Lint affected
run: yarn nx affected:lint
run: yarn nx affected:lint --max-warnings=0
- name: Test affected
run: yarn nx affected:test
- name: Build affected

View File

@ -1,4 +1,4 @@
import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps';
import { Then, When } from 'cypress-cucumber-preprocessor/steps';
import AssetsPage from '../pages/assets-page';
const assetPage = new AssetsPage();

View File

@ -1 +0,0 @@
import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps';

View File

@ -1,4 +1,4 @@
import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps';
import { Then, When } from 'cypress-cucumber-preprocessor/steps';
import MarketsPage from '../pages/markets-page';
const marketsPage = new MarketsPage();

View File

@ -1,11 +1,5 @@
import { Block } from './block';
import {
fireEvent,
render,
screen,
waitFor,
act,
} from '@testing-library/react';
import { render, screen, waitFor } from '@testing-library/react';
import { MemoryRouter, Route, Routes } from 'react-router-dom';
import { Routes as RouteNames } from '../../router-config';

View File

@ -34,6 +34,7 @@ export interface Data {
}
export interface Evidence {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
evidence: any[];
}

View File

@ -34,6 +34,7 @@ export interface TransactionData {
}
export interface Evidence {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
evidence: any[];
}
@ -67,6 +68,7 @@ export interface Block {
export interface ResultBeginBlock {}
export interface ResultEndBlock {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
validator_updates?: any;
}

View File

@ -11,6 +11,7 @@ export interface Event {
export interface TxResult {
code: number;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
data?: any;
log: string;
info: string;

View File

@ -11,6 +11,7 @@ export interface Event {
export interface TxResult {
code: number;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
data?: any;
log: string;
info: string;