Skip to content

Commit 57bc02c

Browse files
committed
Remove superfluous formatting tasks
These are replace by the `general:format-prettier` task. Even though that doesn't provide a formatting compliance check, the developer doesn't have any need for such a thing, since they will be better off to simply format, and the CI now takes the approach of formatting and then failing if it produced a diff.
1 parent b5c0e41 commit 57bc02c

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

Taskfile.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ tasks:
5454
cmds:
5555
- mkdocs serve
5656

57-
docs:check:
58-
desc: Run documentation linting
59-
cmds:
60-
- npx {{ .PRETTIER }} --check "**/*.md"
61-
- |
62-
echo "WARNING: this task is deprecated. Use general:format-prettier instead"
63-
6457
docs:check-links:
6558
desc: Verifies there are no dead links in documentation
6659
cmds:
@@ -73,14 +66,6 @@ tasks:
7366
done
7467
exit $STATUS'
7568
76-
docs:format:
77-
desc: Automatically formats documentation
78-
deps:
79-
- task: general:format-prettier
80-
cmds:
81-
- |
82-
echo "WARNING: this task is deprecated. Use general:format-prettier instead"
83-
8469
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-prettier-formatting-task/Taskfile.yml
8570
general:format-prettier:
8671
desc: Format all supported files with Prettier
@@ -160,25 +145,8 @@ tasks:
160145
- "'{{.GOLINTBIN}}' {{.GOLINTFLAGS}} {{ default .DEFAULT_TARGETS .TARGETS }}"
161146
- task: i18n:check
162147
- task: python:check
163-
- task: docs:check
164-
- task: config:check
165148
- task: protoc:check
166149

167-
config:check:
168-
desc: Check linting of configuration and supporting files
169-
cmds:
170-
- npx {{ .PRETTIER }} --check "**/*.{yml,yaml}"
171-
- |
172-
echo "WARNING: this task is deprecated. Use general:format-prettier instead"
173-
174-
config:format:
175-
desc: Automatically formats configuration and supporting files
176-
deps:
177-
- task: general:format-prettier
178-
cmds:
179-
- |
180-
echo "WARNING: this task is deprecated. Use general:format-prettier instead"
181-
182150
python:check:
183151
desc: Linting for Python files
184152
cmds:

0 commit comments

Comments
 (0)