Skip to content
pubscout

jaspr_lints

0.7.2, released 4 months ago by schultek.dev

A collection of lints and code assists for Jaspr projects.

$ flutter pub add jaspr_lints
Source repository

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: true

Alternatives

Packages that do the same job and could replace jaspr_lints.

Works with

Packages commonly used together with jaspr_lints: ones it builds on, ones built on it, and its own family.