mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
chore: use prettier instead of clang-format (#7014)
* chore: add and configure prettier * chore: remove clang-format * chore: remove clang-format config * chore: lint additional ts files * chore: fix lint errors in blocks * chore: add prettier-ignore where needed * chore: ignore js blocks when formatting * chore: fix playground html syntax * chore: fix yaml spacing from merge * chore: convert text blocks to use arrow functions * chore: format everything with prettier * chore: fix lint unused imports in blocks
This commit is contained in:
committed by
GitHub
parent
af991f5e1b
commit
88ff901a72
@@ -27,7 +27,7 @@ module.exports = {
|
||||
default: buildTasks.build,
|
||||
|
||||
// Main sequence targets. They already invoke prerequisites.
|
||||
langfiles: buildTasks.langfiles, // Build build/msg/*.js from msg/json/*.
|
||||
langfiles: buildTasks.langfiles, // Build build/msg/*.js from msg/json/*.
|
||||
tsc: buildTasks.tsc,
|
||||
deps: buildTasks.deps,
|
||||
minify: buildTasks.minify,
|
||||
@@ -41,8 +41,7 @@ module.exports = {
|
||||
gitUpdateGithubPages: gitTasks.updateGithubPages,
|
||||
|
||||
// Manually-invokable targets, with prerequisites where required.
|
||||
format: buildTasks.format,
|
||||
messages: buildTasks.messages, // Generate msg/json/en.json et al.
|
||||
messages: buildTasks.messages, // Generate msg/json/en.json et al.
|
||||
sortRequires: cleanupTasks.sortRequires,
|
||||
checkLicenses: licenseTasks.checkLicenses,
|
||||
clean: gulp.parallel(buildTasks.cleanBuildDir, packageTasks.cleanReleaseDir),
|
||||
|
||||
Reference in New Issue
Block a user