Skip to content

Commit

Permalink
ci: fail lint on warning (shapeshift#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdef1cafe authored Oct 27, 2021
1 parent bbbbf95 commit 5688394
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "lerna run build --include-dependencies",
"clean": "rimraf node_modules dist packages/**/dist",
"dev": "lerna run dev --stream --parallel",
"lint": "eslint --cache .",
"lint": "eslint --cache --max-warnings=0 .",
"link-packages": "node scripts/linkPackages.js link",
"unlink-packages": "node scripts/linkPackages.js unlink",
"test": "jest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ describe('BitcoinChainAdapter', () => {
})
})

describe.skip('getFeeData', () => {
describe('getFeeData', () => {
it('should return current BTC network fees', async () => {
const adapter = new bitcoin.ChainAdapter(args)

Expand Down
2 changes: 1 addition & 1 deletion packages/swapper/src/swappercli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const getWallet = async (): Promise<NativeHDWallet> => {
}

const main = async (): Promise<void> => {
const [_, __, ...args] = process.argv
const [, , ...args] = process.argv
const [sellSymbol, buySymbol, sellAmount] = args

console.info(`sellSymbol: sell ${sellAmount} of ${sellSymbol} to ${buySymbol}`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { AxiosResponse } from 'axios'
import {
ApprovalNeededInput,
ApprovalNeededOutput,
BIP32Params,
ChainTypes,
QuoteResponse,
SwapperType
Expand Down

0 comments on commit 5688394

Please sign in to comment.