Skip to content

Commit 567255c

Browse files
committed
fix linting
1 parent 41e0067 commit 567255c

4 files changed

+9
-9
lines changed

abbreviations.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,4 +271,4 @@
271271
"Yekaterinburg Time": "YEKT",
272272
"Yukon Time": "YT",
273273
"Zulu Time Zone": "Z"
274-
}
274+
}

generate-abbreviations.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async function run() {
5858
sortKeys({ ...abbreviations, ...customAbbreviations }),
5959
null,
6060
2,
61-
),
61+
).replace(/}/g, "}\n"),
6262
);
6363
}
6464

generate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import tzdata from "tzdata";
1111
import abbreviations from "./abbreviations.json";
1212
import formatTimeZone from "./lib/formatTimeZone.js";
1313

14-
const timeZonesLinks = Object.entries(tzdata.zones).filter(([key, value]) => {
14+
const timeZonesLinks = Object.entries(tzdata.zones).filter(([, value]) => {
1515
return typeof value === "string";
1616
});
1717

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@
9191
]
9292
}
9393
},
94+
"release": {
95+
"branches": [
96+
"main",
97+
"next"
98+
]
99+
},
94100
"devDependencies": {
95101
"@babel/cli": "7.17.3",
96102
"@babel/core": "7.17.5",
@@ -116,12 +122,6 @@
116122
"publishConfig": {
117123
"access": "public"
118124
},
119-
"release": {
120-
"branches": [
121-
"main",
122-
"next"
123-
]
124-
},
125125
"renovate": {
126126
"extends": [
127127
"config:js-lib",

0 commit comments

Comments
 (0)