Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBresson committed Oct 28, 2020
1 parent dfa54b5 commit f5b5bcf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -16,5 +16,5 @@ export {
streaming,
StreamingType,
purchase,
PurchaseType
PurchaseType,
};
6 changes: 3 additions & 3 deletions src/purchase/purchase.enum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export enum PurchaseType {
tshirt = 'tshirt',
jean = 'jean',
}
tshirt = 'tshirt',
jean = 'jean',
}
23 changes: 11 additions & 12 deletions src/purchase/purchase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

0 comments on commit f5b5bcf

Please sign in to comment.