We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2af51c2 commit 9c54882Copy full SHA for 9c54882
tools/update-lib-configs.js
@@ -88,10 +88,10 @@ categories.forEach((category) => {
88
})
89
90
// Format files.
91
-async function main() {
+async function format() {
92
const linter = new eslint.ESLint({ fix: true })
93
const report = await linter.lintFiles([ROOT])
94
eslint.ESLint.outputFixes(report)
95
}
96
97
-main()
+format()
tools/update-lib-index.js
@@ -43,10 +43,10 @@ module.exports = {
43
fs.writeFileSync(filePath, content)
44
45
46
47
48
const report = await linter.lintFiles([filePath])
49
50
51
52
0 commit comments