https://github.com/hisaichi5518/dart-linting
linting is a framework for creating custom linters using the analyzer_plugin and cli.
https://github.com/hisaichi5518/dart-linting
custom-linter dart flutter framework linter
Last synced: 4 months ago
JSON representation
linting is a framework for creating custom linters using the analyzer_plugin and cli.
- Host: GitHub
- URL: https://github.com/hisaichi5518/dart-linting
- Owner: hisaichi5518
- License: mit
- Archived: true
- Created: 2021-09-23T13:19:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T04:57:20.000Z (over 2 years ago)
- Last Synced: 2025-01-17T15:07:19.374Z (5 months ago)
- Topics: custom-linter, dart, flutter, framework, linter
- Language: Dart
- Homepage: https://pub.dev/packages/linting
- Size: 158 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# linting
linting is a framework for creating custom linter.
## Motivation
Dart has a [linter](https://github.com/dart-lang/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.
## Get Started
The complete code can be found at [example](https://github.com/hisaichi5518/dart-linting/tree/main/example)
## TODO
- [ ] auto-fix command for CLI
- [ ] auto-fix command for analyzer_plugin
- [ ] linting create .
- [ ] documents## Release
- create and push release branch. (ex, `release/1.2.0`)
- Update CHANGELOG.md
- Update pubspec.yaml
- Create tag
- Create release
- run `dart pub publish`
- merge release branch.