Skip to content

Commit

Permalink
Merge pull request #120 from jhwohlgemuth/feature/fix-lint-issues
Browse files Browse the repository at this point in the history
Auto fix lint issues
  • Loading branch information
jhwohlgemuth committed Oct 26, 2018
2 parents 28ba4ba + 14bd69c commit 817b1db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/atmosphere.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function a(i: number): number {
1.7,
1.1,
0
].map(function(a) {return a === 0 ? a : (a / 1000);});/* eslint-enable no-magic-numbers */
].map(a => a === 0 ? a : (a / 1000));/* eslint-enable no-magic-numbers */
return lapseRates[i];
}
/**
Expand Down
2 changes: 1 addition & 1 deletion lib/geodetic.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function toDegreesMinutesSeconds(value: point3): ?number[] {
return null;
}
const data = value;
const dimension = data.length - data.slice(0).reverse().findIndex(function(val) {return abs(val) > 0;});
const dimension = data.length - data.slice(0).reverse().findIndex(val => abs(val) > 0);
const degrees = trunc(value[0]);
let minutes = 0;
let seconds = 0;
Expand Down

0 comments on commit 817b1db

Please sign in to comment.