Skip to content

Document custom-lint task #25

@Barabas5532

Description

@Barabas5532

I can't find any documentation for the new custom-lint task.

It was causing the commit hook to fail with this error in my project:

Could not find package `custom_lint` or file `custom_lint`
  [EXC] "dart run custom_lint" failed with exit code 255
#0      ProgramRunner.stream (package:dart_pre_commit/src/util/program_runner.dart:91:11)
<asynchronous suspension>

I've managed to turn it off by adding

dart_pre_commit:
  custom-lint: false

to pubspec.yaml.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions