- Task >= 3.49.1
Certain file types need to be added to our linting rules manually:
- YAML. If adding a YAML file (regardless of its extension), add it (or its parent directory)
as an argument to the
yamllintcommand in taskfiles/lint.yaml.
Before submitting a pull request, ensure you've run the linting commands below and either fixed any violations or suppressed the warning.
To run all linting checks:
task lint:checkTo run all linting checks AND automatically fix any fixable issues:
task lint:fixThe commands above run all linting checks, but for performance you may want to run a subset using one of the tasks in the table below.
| Task | Description |
|---|---|
lint:check-yaml |
Runs the YAML linters. |
lint:fix-yaml |
Runs the YAML linters and fixes issues. |