Merge pull request #180 from vegaprotocol/chore/linting-errors
Chore/Fix lint warnings
This commit is contained in:
commit
c4d10d04af
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||
|
@ -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();
|
||||
|
@ -1 +0,0 @@
|
||||
import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps';
|
@ -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();
|
||||
|
@ -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';
|
||||
|
||||
|
@ -34,6 +34,7 @@ export interface Data {
|
||||
}
|
||||
|
||||
export interface Evidence {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
evidence: any[];
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user