oath 0.4.1
oath: ^0.4.1 copied to clipboard
Swear a Paladin's Oath to code righteousness by enforcing lints.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.5.0 #
- Bumped Dart to
^3.8.0. - Added
use_null_aware_elementsto all rule sets. - Added
unnecessary_ignoreto all rule sets.
0.4.0 #
- Bumped Dart to
^3.7.0. - Added
strict_top_level_inferenceto all rule sets. - Added
unnecessary_underscoresto all rule sets. - Added
unnecessary_asyncto all rule sets. - Added
unsafe_varianceto all rule sets. - Removed
package_api_docsfrom all rule sets. - Removed
require_trailing_commasfrom all rule sets.
0.3.0 #
- Bumped Dart to
^3.6.0. - Removed
prefer_const_constructors[_in_immutables]fromflutter/relaxed.yaml. - Added
avoid_futureor_voidanduse_truncating_divisionto all rule sets.
0.2.2+1 #
- No changes, just testing publish automation.
0.2.2 #
- Uses
package:lints^5.1.0.
0.2.1+1 #
- Move the package into a monorepo.
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:
avoid_types_on_closure_parameters: Too many false positives.cascade_invocations: Too prescriptive, separate lines can be useful for readability.cast_nullable_to_non_nullable: Could be useful as a code review hint, but too verbose for a lint.one_member_abstracts: Avoiding unnecessary classes is good design guidance, but not as a lint.
Added the following lints:
comment_references: Enforces that all references in comments are valid. There are some false positives between this and whatdartdocsupports, 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:
avoid_redundant_argument_values: Causes a lot of churn for little benefit.unnecessary_raw_strings: Too prescriptive, raw strings can be useful for readability.
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