https://github.com/chyiiiiiiiiiiii/flutter_lint_example
lint makes our project better
https://github.com/chyiiiiiiiiiiii/flutter_lint_example
analyzer code dart flutter lint
Last synced: 3 months ago
JSON representation
lint makes our project better
- Host: GitHub
- URL: https://github.com/chyiiiiiiiiiiii/flutter_lint_example
- Owner: chyiiiiiiiiiiii
- Created: 2022-09-09T14:20:47.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-25T15:49:54.000Z (over 3 years ago)
- Last Synced: 2025-01-17T08:25:46.558Z (about 1 year ago)
- Topics: analyzer, code, dart, flutter, lint
- Language: C++
- Homepage: https://linktr.ee/yiichenhi
- Size: 863 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lint_example

Use a code analyzer to check what we type. Keep the project of good quality and avoid some issues. The packages flutter_lint or lint are all good. Depends on you or your team.
## Packages
- [lint](https://pub.dev/packages/lint)
- [dart_code_metrics](https://pub.dev/packages/dart_code_metrics)
## Usage
## Analyze
```bash
flutter pub run dart_code_metrics:metrics analyze lib
```
## Check unused files
```bash
flutter pub run dart_code_metrics:metrics check-unused-files lib
```
## Check unused code
```bash
flutter pub run dart_code_metrics:metrics check-unused-code lib
```
## Contribute
- You can star and share with other developers if you feel good and learn something from this repository.
- If you have some ideas, please discuss them with me or commit PR.
## More of me
[](https://yiichenhi.medium.com)
[](https://www.linkedin.com/in/yiichenhi/)
[](https://twitter.com/yiichenhi)
[](http://instagram.com/flutterluvr.yii/)
## Donate and encourage me
[![BuyMeACoffee][buy_me_a_coffee_badge]][buy_me_a_coffee]
[buy_me_a_coffee]: https://www.buymeacoffee.com/yiichenhi
[buy_me_a_coffee_badge]: https://img.buymeacoffee.com/button-api/?text=Sponsor&emoji=&slug=yiichenhi&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff&size=64