VGVentures / nitpicky

Provides VGV style lints, similar to package:pedantic.
MIT License
2 stars 0 forks source link

nitpicky

This package contains the analysis_options.yaml file to configure the Dart analyzer for VGV Dart/Flutter style.

It enables more lints than pedantic, and can be used alongside it. See that package for more information.

Usage

dev_dependencies:
  nitpicky: 
    git:
      url: https://github.com/VGVentures/nitpicky
      ref: 1.0.0    # specify a tag or branch
include: package:nitpicky/analysis_options.yaml

# or use an older version
# include: package:nitpicky/analysis_options.1.0.0.yaml

Hacking

As we evolve these rules over time, we should version them by copying the yaml file with a new suffix and matching git tag, and updating the main analysis_options file to point to the latest. See pedantic.

Retaining the old rules will allow clients to pin a specific version. Otherwise, CI will fail until their code is updated.