soothe the linter: remove unused variables

This commit is contained in:
Julius Tens 2020-02-27 15:52:01 +01:00
parent bc30309056
commit c072a70c57
5 changed files with 2 additions and 6 deletions

View file

@ -1,6 +1,7 @@
'use strict'
const formatRefreshJourneyReq = (ctx, refreshToken) => {
// eslint-disable-next-line no-unused-vars
const {profile, opt} = ctx
return {

View file

@ -12,6 +12,7 @@ const transformReqBody = (ctx, body) => {
}
const formatRefreshJourneyReq = (ctx, refreshToken) => {
// eslint-disable-next-line no-unused-vars
const {profile, opt} = ctx
return {

View file

@ -1,7 +1,5 @@
'use strict'
const parseWhen = require('./when')
const parsePlatform = require('./platform')
const findRemarks = require('./find-remarks')
const ARRIVAL = 'a'

View file

@ -1,7 +1,5 @@
'use strict'
const parseWhen = require('./when')
const parsePlatform = require('./platform')
const findRemarks = require('./find-remarks')
const clone = obj => Object.assign({}, obj)

View file

@ -1,7 +1,5 @@
'use strict'
const parseWhen = require('./when')
const parsePlatform = require('./platform')
const findRemarks = require('./find-remarks')
const parseStopover = (ctx, st, date) => { // st = raw stopover