Run Prettier on all source files (#1648)
This commit updates `npm run format:all` to not only format .js files in src/ and bin/, but also tests_config/ and scripts/, as well as all jsfmt.spec.js files. It also includes the result of running `npm run format:all`, except changes to src/ and bin/.
This commit is contained in:
1 parent
226adb2e81
commit
bc5186e544
17 files changed
+25
-19
No files matched your search
@@ -36,7 +36,7 @@ function syncTests(syncDir) {
|
||||
"Couldn't find any files to copy.",
|
||||
`Please make sure that \`${syncDir}\` exists and contains the flow tests.`
|
||||
].join("\n")
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
const specContents = specFiles.reduce((obj, specFile) => {
|
||||
|
||||
Reference in new issue
Block a user