words 0.5.0 words: ^0.5.0 copied to clipboard
A curated collection of lints for use by Dart packages to ensure higher program safety and to promote best practices.
The words package comprises two sets of lints which help in development of consistent, predictable applications.
Two sets of linter rules are used:
-
Core lints: Lints applicable to all Dart code across every platform.
-
Flutter lints: Core lints + additional lints only applicable to the Flutter framework.
To learn more about lints, visit the official Dart lints package repository.
How to enable these lints #
-
Add the
words
package as a developer dependency using the terminal:dart pub add --dev words
-
Create an
analysis_options.yaml
file at the root of the repository (next topubspec.yaml
). -
In a Flutter project you should add:
include: package:words/flutter.yaml
Otherwise:
include: package:words/core.yaml