with one click
signals-lint
// Standardized compiler diagnostics, static analysis lints, and automated IDE quick-fixes.
// Standardized compiler diagnostics, static analysis lints, and automated IDE quick-fixes.
Highly optimized Flutter UI bindings and GPU rendering for reactive signals.
Comprehensive hook utility functions integrating reactive signals seamlessly with flutter_hooks.
Comprehensive reactive state hooks for integration with flutter_hooks.
Review the current Jaspr docs, audit source code doc comments, edit the source code, and run the generator script to verify docs updates.
Update all the `./examples` dependencies to the latest repository/third-party versions and fix any compiler or analysis issues.
Detailed guidelines, patterns, and rules for migrating codebases from signals.dart version 6.x to version 7.x.
| name | signals-lint |
| description | Standardized compiler diagnostics, static analysis lints, and automated IDE quick-fixes. |
This skill covers working with static code analysis, custom compiler warning diagnostics, and automated quick-fixes in the signals.dart ecosystem.
Ensure the plugin is active in your project to enable real-time IDE diagnostics and fixes:
# pubspec.yaml
dev_dependencies:
custom_lint: ^0.8.1
signals_lint: ^7.0.0
# analysis_options.yaml
analyzer:
plugins:
- custom_lint
signals_avoid_create_in_build_methodFlags instances where a signal or computed variable is created inside a Flutter build method.
signals_avoid_deprecated_watch_extensionFlags uses of deprecated BuildContext.watch() and BuildContext.unwatch() extensions.
SignalBuilder or inherit from SignalWidget/SignalStatefulWidget.signals_avoid_deprecated_signals_mixinFlags usage of deprecated with SignalsMixin mixins on StatefulWidget states.
SignalStatefulWidget instead.signals_prefer_named_builderEnforces named builder: callbacks in SignalBuilder and Watch elements instead of positional arguments.
signals_prefer_unified_optionsFlags direct creator configuration arguments (e.g. autoDispose: true).
options: SignalOptions(autoDispose: true)).Place your cursor on the relevant class name or widget instantiation inside your IDE to reveal these automatic assists via the quick-fix menu (Cmd+. or Alt+Enter):
WrapWithSignalBuilder: Wraps any widget expression inside SignalBuilder(builder: (context) => ...).ConvertStatelessToSignalWidget: Refactors a standard StatelessWidget into a SignalWidget instantly.ConvertStatefulToSignalStatefulWidget: Refactors a standard StatefulWidget to a SignalStatefulWidget.MigrateSignalsMixinToSignalStatefulWidget: Strips the legacy SignalsMixin and converts the class structure to SignalStatefulWidget.MigrateWatchToSignalBuilder: Converts legacy Watch(...) instances into clean SignalBuilder widgets.