Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Owlet Lints

version like issues license

Import:

dev_dependencies:
  owlet_lints: 'any'

Use:

Add this line to your analysis_options.yaml file.

    include: package:owlet_lints/default_options.yaml

List of Lint Options:

  • package:owlet_lints/default_options.yaml
    • Default Option
  • package:owlet_lints/published_options.yaml
    • With Docs linter:
      • package_api_docs
      • public_member_api_docs
  • package:owlet_lints/hard_options.yaml
    • Harder linter's options

Example:

# This file configures the static analysis results for your project (errors,
# warnings, and lints).
#
# This enables the 'recommended' set of lints from `package:lints`.
# This set helps identify many issues that may lead to problems when running
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
# style and format.
#
# If you want a smaller set of lints you can change this to specify
# 'package:lints/core.yaml'. These are just the most critical lints
# (the recommended set includes the core lints).
# The core lints are also what is used by pub.dev for scoring packages.

include: package:owlet_lints/default_options.yaml

# Uncomment the following section to specify additional rules.

linter:
  rules:
    prefer_iterable_whereType: true
#     - camel_case_types

# analyzer:
#   exclude:
#     - path/to/excluded/files/**

# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints

# For additional information about configuring this file, see
# https://dart.dev/guides/language/analysis-options

About

Lint rules for my flutter project with multi rules for the different project types.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages