Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Feb 21, 2022
1 parent 41e0067 commit 567255c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion abbreviations.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,4 @@
"Yekaterinburg Time": "YEKT",
"Yukon Time": "YT",
"Zulu Time Zone": "Z"
}
}
2 changes: 1 addition & 1 deletion generate-abbreviations.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function run() {
sortKeys({ ...abbreviations, ...customAbbreviations }),
null,
2,
),
).replace(/}/g, "}\n"),
);
}

Expand Down
2 changes: 1 addition & 1 deletion generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import tzdata from "tzdata";
import abbreviations from "./abbreviations.json";
import formatTimeZone from "./lib/formatTimeZone.js";

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

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@
]
}
},
"release": {
"branches": [
"main",
"next"
]
},
"devDependencies": {
"@babel/cli": "7.17.3",
"@babel/core": "7.17.5",
Expand All @@ -116,12 +122,6 @@
"publishConfig": {
"access": "public"
},
"release": {
"branches": [
"main",
"next"
]
},
"renovate": {
"extends": [
"config:js-lib",
Expand Down

0 comments on commit 567255c

Please sign in to comment.