linting 1.0.0+5 copy "linting: ^1.0.0+5" to clipboard
linting: ^1.0.0+5 copied to clipboard

outdated

linting is a framework for creating custom linters using the analyzer_plugin and cli.

linting #

linting is a framework for creating custom linter.

Motivation #

Dart has a linter, but it is currently not able to create custom rules.

https://github.com/dart-lang/linter/issues/697

There are several ways to create custom rules, but each has its own disadvantages.

  • Create your own linter command
    • Easy to implement.
    • Cannot check errors in the IDE.
  • Use the analyzer_plugin
    • Errors can be displayed in the IDE.
    • Difficult to implement and debug.
    • To check errors in CI (ex, Github Action), need to create a command.

linting is a framework for solving these problems.

Getting Started #

The complete code can be found at example

TODO #

  • auto-fix command for CLI
  • auto-fix command for analyzer_plugin
  • linting create .
3
likes
0
pub points
0%
popularity

Publisher

unverified uploader

linting is a framework for creating custom linters using the analyzer_plugin and cli.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, analyzer_plugin, args, freezed_annotation, glob, path, source_span, test, yaml

More

Packages that depend on linting