{"repo":"passsy/dart-lint","free":true,"listed":false,"github":"https://github.com/passsy/dart-lint","clone":"git clone https://github.com/passsy/dart-lint.git","description":"An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter","language":null,"stars":279,"topics":["lint","dart","flutter","lint-rule","hacktoberfest"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Lint for Dart/Flutter lint is a hand-picked, open-source, community-driven collection of lint rules for Dart and Flutter projects. The set of rules follows the Effective Dart: Style Guide. This package can be used as a replacement for package:lints or the discontinued package:pedantic for those who prefer stricter rules. lint supports 3 different set of rules: - strict : tries to be strict but not annoying. Perfect for production app code - casual : great when prototyping, to be used in code samples, any non-production code - package : like strict but for dart packages, that have a public API Install Add lint as dependency to your pubspec.yaml . Version ^1.0.0 means you're automatically getting the latest version for lint when running pub upgrade Create an analysis options.yaml file in the root of your project with the following content: Lint badge You're using lint in your open-source project? Add the badge to your README.md show that you honor strict lint rules Comparison with other lint packages A detailed comparison of all linting packages for dart can be found at https://rydmike.com/blog flutter linting.html lint is among the strictest but not the strictest. It tires to find the right balance between useful and annoying. Which version to use? Generally, you can just put lint: ^2.0.0 in your pubspec.yaml and pub get the latest version compatible with your Dart version. Dart Version Lint Version -------------- ---------------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/passsy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/passsy/dart-lint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}