words 0.0.1 words: ^0.0.1 copied to clipboard
Collection of Dart linter rules used in projects of WordCollector.
Collection of Dart linter rules used in projects at WordCollector. #
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, expected to be enforced in every code library published by WordCollector, as well as in private repositories.
-
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