Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 0e4a2a1

Browse files
authored
Merge pull request #69 from jaebradley/greenkeeper/eslint-config-airbnb-base-13.0.0
Update eslint-config-airbnb-base to the latest version 🚀
2 parents 5323e8f + 8ee5ddc commit 0e4a2a1

File tree

6 files changed

+52
-25
lines changed

6 files changed

+52
-25
lines changed

package-lock.json

Lines changed: 42 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"babel-jest": "^23.0.1",
2929
"babel-preset-minify": "^0.4.2",
3030
"codecov": "^3.0.2",
31-
"eslint": "^5.0.0",
32-
"eslint-config-airbnb-base": "^12.1.0",
33-
"eslint-plugin-import": "^2.8.0",
31+
"eslint": "^5.0.1",
32+
"eslint-config-airbnb-base": "^13.0.0",
33+
"eslint-plugin-import": "^2.13.0",
3434
"husky": "^0.14.3",
3535
"jest": "^23.1.0",
3636
"semantic-release": "^15.0.0",

src/executables/uber-time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* eslint-disable no-console */
44

55
import program from 'commander';
6-
import { buildTimeEstimates } from '../';
6+
import { buildTimeEstimates } from '..';
77

88
program
99
.description('Get Time-To-Pickup Estimates')

src/executables/uber.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ program.version(pkg.version)
99
.command('price', 'get price estimate')
1010
.command('time', 'get time to pickup estimate')
1111
.parse(process.argv);
12-

src/services/formatters.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { DISTANCE_UNIT_ABBREVIATIONS } from './converters';
22
import symbols from './symbols';
33

44
const formatSurgeMultiplier = surgeMultiplier => (
5-
surgeMultiplier > 1 ?
6-
`${surgeMultiplier}x ${symbols.SURGE_EXISTS}` :
7-
symbols.NOT_APPLICABLE
5+
surgeMultiplier > 1
6+
? `${surgeMultiplier}x ${symbols.SURGE_EXISTS}`
7+
: symbols.NOT_APPLICABLE
88
);
99

1010
const formatDistance = ({ value, unit }) => {

src/services/formatters.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { formatSeconds, formatSurgeMultiplier, formatDistance, formatPriceRange } from './formatters';
1+
import {
2+
formatSeconds, formatSurgeMultiplier, formatDistance, formatPriceRange,
3+
} from './formatters';
24
import DistanceUnit from '../data/DistanceUnit';
35
import symbols from './symbols';
46

0 commit comments

Comments
 (0)