nilts is lint rules, quick fixes and assists for Dart and Flutter projects that helps you enforce best practices, and avoid errors.
This repository is a collection of the following packages.
Package | pub.dev | description |
---|---|---|
nilts | For Dart and Flutter projects | |
nilts_clock | For Dart and Flutter projects using clock | |
nilts_core | Helper package for another packages | |
nilts_flutter_hooks | For Flutter projects using flutter_hooks |
Check out the each package's README for more details.
Important
This issue is solved on nilts 0.18.3 using custom_lint 0.7.3.
Since custom_lint 0.6.7, the IDE has not shown lint rule errors in some cases.
See also:
- analysis.setContextRoots failed - RequestErrorCode.PLUGIN_ERROR ProcessException: / No such file or directory / Command: flutter pub get · Issue #270 · invertase/dart_custom_lint
- IntelliJ and Android Studio don't show custom lints · Issue #307 · invertase/dart_custom_lint
Important
Finding which a plugin version fixed the issue is hard, but it looks work as expected. Checked works as expected on Dart plugin 242.24931 and 243.23654.44.
The priorities assigned to quick fixes are not currently visible in IntelliJ IDEA and Android Studio due to the lack of support for PrioritizedSourceChange
in these environments.
In contrast, VS Code does support this feature, allowing quick fixes to be listed along with their respective priorities.
VS Code | IntelliJ IDEA / Android Studio |
---|---|
![]() |
![]() |
See also:
Important
Finding which a plugin version fixed the issue is hard, but it looks as expected. Checked works as expected on Dart plugin 242.24931 and 243.23654.44.
The fix-all assist feature has been introduced in custom_lint_builder 0.6.0.
However, this feature is not yet supported in IntelliJ IDEA and Android Studio, owing to their current lack of support for PrioritizedSourceChange
.
VS Code | IntelliJ IDEA / Android Studio |
---|---|
![]() |
![]() |
If you have any feature requests, please create an issue from this template.
If you find any bugs, please create an issue from this template.
Welcome your contributions!! Please read CONTRIBUTING docs before submitting your PR.