Skip to content

Commit c565a53

Browse files
authored
chore: exclude further_reading_links.json from Prettier formatting (#19943)
1 parent 3173305 commit c565a53

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
CHANGELOG.md
22
docs/package.json
3+
docs/src/_data/further_reading_links.json
34
docs/src/_data/rule_versions.json
45
docs/src/_data/rules.json
56
docs/src/_data/rules_meta.json

docs/src/_data/further_reading_links.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,4 +797,4 @@
797797
"title": "ECMAScript® 2020 Language Specification",
798798
"description": null
799799
}
800-
}
800+
}

tools/fetch-docs-links.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ async function fetchLinkMeta(url) {
103103
}
104104

105105
// Last write new data into the current data file
106-
await fs.writeFile(DATA_FILE_PATH, JSON.stringify(links, null, 4), "utf8");
106+
await fs.writeFile(DATA_FILE_PATH, JSON.stringify(links, null, 2), "utf8");
107107
})();

0 commit comments

Comments
 (0)