Skip to content
/ words Public

A curated collection of lints for use by Dart packages to ensure higher program safety and to promote best practices.

License

Notifications You must be signed in to change notification settings

vxern/words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Add the words package as a developer dependency using the terminal:

    dart pub add --dev words
    
  2. Create an analysis_options.yaml file at the root of the repository (next to pubspec.yaml).

  3. In a Flutter project you should add:

    include: package:words/flutter.yaml

    Otherwise:

    include: package:words/core.yaml