Skip to content

Commit

Permalink
Merge pull request #69 from jaebradley/greenkeeper/eslint-config-airb…
Browse files Browse the repository at this point in the history
…nb-base-13.0.0

Update eslint-config-airbnb-base to the latest version 🚀
  • Loading branch information
jaebradley authored Jun 26, 2018
2 parents 5323e8f + 8ee5ddc commit 0e4a2a1
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 25 deletions.
58 changes: 42 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"babel-jest": "^23.0.1",
"babel-preset-minify": "^0.4.2",
"codecov": "^3.0.2",
"eslint": "^5.0.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint": "^5.0.1",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-plugin-import": "^2.13.0",
"husky": "^0.14.3",
"jest": "^23.1.0",
"semantic-release": "^15.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/executables/uber-time.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable no-console */

import program from 'commander';
import { buildTimeEstimates } from '../';
import { buildTimeEstimates } from '..';

program
.description('Get Time-To-Pickup Estimates')
Expand Down
1 change: 0 additions & 1 deletion src/executables/uber.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ program.version(pkg.version)
.command('price', 'get price estimate')
.command('time', 'get time to pickup estimate')
.parse(process.argv);

6 changes: 3 additions & 3 deletions src/services/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { DISTANCE_UNIT_ABBREVIATIONS } from './converters';
import symbols from './symbols';

const formatSurgeMultiplier = surgeMultiplier => (
surgeMultiplier > 1 ?
`${surgeMultiplier}x ${symbols.SURGE_EXISTS}` :
symbols.NOT_APPLICABLE
surgeMultiplier > 1
? `${surgeMultiplier}x ${symbols.SURGE_EXISTS}`
: symbols.NOT_APPLICABLE
);

const formatDistance = ({ value, unit }) => {
Expand Down
4 changes: 3 additions & 1 deletion src/services/formatters.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { formatSeconds, formatSurgeMultiplier, formatDistance, formatPriceRange } from './formatters';
import {
formatSeconds, formatSurgeMultiplier, formatDistance, formatPriceRange,
} from './formatters';
import DistanceUnit from '../data/DistanceUnit';
import symbols from './symbols';

Expand Down

0 comments on commit 0e4a2a1

Please # to comment.