oath 0.2.1 copy "oath: ^0.2.1" to clipboard
oath: ^0.2.1 copied to clipboard

Swear a Paladin's Oath to code righteousness by enforcing lints.

Change Log #

0.2.1 #

Fixed a bug where flutter/relaxed.yaml did not inherit from flutter/strict.yaml.

Added the following lint rules just to strict rule sets:

Added the following lint rules to every rule set:

0.2.0 #

BREAKING CHANGE: library.yaml was renmed to strict.yaml, and ...

Removed the following lint rules:

Added the following lints:

  • comment_references: Enforces that all references in comments are valid. There are some false positives between this and what dartdoc supports, but it's probably worth ignoring those versus not knowing if a reference is valid.
  • missing_code_block_language_in_doc_comment: Useful for ensuring that code blocks are syntax highlighted.
  • unnecessary_library_name: There are no benefits to having a library name in modern Dart.

BREAKING CHANGE: application.yaml was renamed to relaxed.yaml, and ...

Removed the following lints:

In addition, updated package:lints to ^4.0.0 (was ^3.0.0).

0.1.1 #

Added a new set, package:oath/flutter/*.yaml, for Flutter packages.

# analysis_options.yaml

# Strict set of lints and analysis options.
include: package:oath/flutter/library.yaml

# Relaxed set of lints and analysis options.
include: package:oath/flutter/application.yaml

0.1.0 #

Initial release, with two sets of lints:

# analysis_options.yaml

# Strict set of lints and analysis options.
include: package:oath/library.yaml

Or, for a slightly relaxed set for applications:

# Relaxed set of lints and analysis options.
include: package:oath/application.yaml
0
likes
140
pub points
8%
popularity

Publisher

verified publisherlurey.dev

Swear a Paladin's Oath to code righteousness by enforcing lints.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

lints

More

Packages that depend on oath