From f5b5bcf6b40793f22f183aff0ec58c36b58026ac Mon Sep 17 00:00:00 2001 From: Pierre Bresson Date: Wed, 28 Oct 2020 22:17:17 +0100 Subject: [PATCH] fix lint --- src/index.ts | 4 ++-- src/purchase/purchase.enum.ts | 6 +++--- src/purchase/purchase.ts | 23 +++++++++++------------ 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/src/index.ts b/src/index.ts index 1331d1d..a23c1a4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,7 @@ import { transport, TransportType } from './transport'; import { electricity, ElectricityType } from './electricity'; import { getInternetUsageCarbonImpact } from './internet'; import { streaming, StreamingType } from './streaming'; -import {purchase, PurchaseType} from './purchase'; +import { purchase, PurchaseType } from './purchase'; export { food, @@ -16,5 +16,5 @@ export { streaming, StreamingType, purchase, - PurchaseType + PurchaseType, }; diff --git a/src/purchase/purchase.enum.ts b/src/purchase/purchase.enum.ts index 7fa8043..33233e5 100644 --- a/src/purchase/purchase.enum.ts +++ b/src/purchase/purchase.enum.ts @@ -1,4 +1,4 @@ export enum PurchaseType { - tshirt = 'tshirt', - jean = 'jean', -} \ No newline at end of file + tshirt = 'tshirt', + jean = 'jean', +} diff --git a/src/purchase/purchase.ts b/src/purchase/purchase.ts index c05e66e..ae541f0 100644 --- a/src/purchase/purchase.ts +++ b/src/purchase/purchase.ts @@ -22,22 +22,21 @@ Links : https://www.apple.com/lae/environment/pdf/products/notebooks/13-inch_MacBookPro_PER_June2019.pdf */ - const smartphone = 80; const tablet = 87; const computer = 588; const laptop = 210; export default { - shirt, - tshirt, - jeans, - sweater, - coat, - dress, - shoes, - smartphone, - tablet, - computer, - laptop + shirt, + tshirt, + jeans, + sweater, + coat, + dress, + shoes, + smartphone, + tablet, + computer, + laptop, };