Skip to content

Commit f5b5bcf

Browse files
committed
fix lint
1 parent dfa54b5 commit f5b5bcf

3 files changed

Lines changed: 16 additions & 17 deletions

File tree

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { transport, TransportType } from './transport';
33
import { electricity, ElectricityType } from './electricity';
44
import { getInternetUsageCarbonImpact } from './internet';
55
import { streaming, StreamingType } from './streaming';
6-
import {purchase, PurchaseType} from './purchase';
6+
import { purchase, PurchaseType } from './purchase';
77

88
export {
99
food,
@@ -16,5 +16,5 @@ export {
1616
streaming,
1717
StreamingType,
1818
purchase,
19-
PurchaseType
19+
PurchaseType,
2020
};

src/purchase/purchase.enum.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export enum PurchaseType {
2-
tshirt = 'tshirt',
3-
jean = 'jean',
4-
}
2+
tshirt = 'tshirt',
3+
jean = 'jean',
4+
}

src/purchase/purchase.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,21 @@ Links :
2222
https://www.apple.com/lae/environment/pdf/products/notebooks/13-inch_MacBookPro_PER_June2019.pdf
2323
*/
2424

25-
2625
const smartphone = 80;
2726
const tablet = 87;
2827
const computer = 588;
2928
const laptop = 210;
3029

3130
export default {
32-
shirt,
33-
tshirt,
34-
jeans,
35-
sweater,
36-
coat,
37-
dress,
38-
shoes,
39-
smartphone,
40-
tablet,
41-
computer,
42-
laptop
31+
shirt,
32+
tshirt,
33+
jeans,
34+
sweater,
35+
coat,
36+
dress,
37+
shoes,
38+
smartphone,
39+
tablet,
40+
computer,
41+
laptop,
4342
};

0 commit comments

Comments
 (0)