jaspr_lints
0.7.2, released 4 months ago by schultek.dev
A collection of lints and code assists for Jaspr projects.
What it does
Provides custom lints and code assists tailored for Jaspr web and server-side projects. It checks for preferred HTML components, proper styles ordering, and unsafe platform-specific imports.
AI-written summary of version 0.7.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are developing a project using the Jaspr web framework
- You want automated checks and fixes for Jaspr code style and best practices
Skip it when
- You are not using the Jaspr framework
Strengths
- Provides helpful code fixes and assists for IDEs
- Helps catch unsafe platform-specific imports in Jaspr components
Weaknesses
- Strictly tied to the Jaspr framework ecosystem
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 6
Add jaspr_lints as a plugin to your analysis_options.yaml file and run dart pub get.
plugins:
jaspr_lints:
version: ^0.6.0
diagnostics:
sort_children_last: true
prefer_html_components: true
styles_ordering: trueAlternatives
Packages that do the same job and could replace jaspr_lints.
- lints
Standard official Dart lint rules if you do not need Jaspr-specific rules.
86Compare - flutter_lints
Official lint rules for Flutter projects.
83Compare
Works with
Packages commonly used together with jaspr_lints: ones it builds on, ones built on it, and its own family.
- analyzerjaspr_lints depends on itPerforms static analysis of Dart code for tool integration and embedding.
- yamljaspr_lints depends on itA Dart library for parsing YAML documents into Dart data structures.
- analyzer_pluginjaspr_lints depends on itFramework for building plugins for the Dart analysis server
- analysis_server_pluginjaspr_lints depends on itFramework and support code for building plugins for the Dart analysis server.
- jasprSame familyA web framework for building websites in Dart with Flutter-like syntax and server-side rendering.
- jaspr_routerSame familyA simple routing component for Jaspr web applications adapted from go_router.
- jaspr_contentSame familyJaspr plugin for building content-driven sites like documentation and blogs.
- jaspr_riverpodSame familyRiverpod‑style state management for Jaspr with BuildContext extensions and server‑client sync.