linter 0.1.20
linter: ^0.1.20 copied to clipboard
Style linter for Dart.
0.1.20 #
- New
cancel_subscriptionslint.
0.1.19 #
- New
close_sinkslint. - Fixes to
iterable_contains_unrelated_type.
0.1.18 #
- Fix NSME in
iterable_contains_unrelated_type(#245). - Fixed typo in
comment_referenceserror description. - Fix
overriden_fieldfalse positive (#246). - Rename linter binary
lintsoption torules(#248). - Help doc tweaks.
0.1.17 #
- Fix to
public_member_api_docsto check for documented getters when checking setters (#237). - New
iterable_contains_unrelated_typelint to detect whenIterable.containsis invoked with an object of an unrelated type. - New
comment_referenceslint to ensure identifiers referenced in docs are in scope (#240).
0.1.16 #
- Fix for false positive in
overriden_fields. - New
unrelated_type_equality_checkslint. - Fix to accept
$identifiers in string interpolation lint (#214). - Update to new
pluginAPI (0.2.0). - Strong mode cleanup.
0.1.15 #
- Fix to allow simple getter/setters when a decl is ``@protected` (#215).
- Fix to not require type params in
ischecks (#227). - Fix to not flag field formal identifiers in parameters (#224).
- Fix to respect filters when calculating error codes (#198).
- Fix to allow
constandfinalvars to be initialized to null (#210). - Fix to respect commented blocks in
empty_constructor_bodies(#209). - Fix to check types on list/map literals (#199).
- Fix to skip
mainwhen checking for API docs (#207). - Fix to allow leading
$in type names (#220). - Fix to ignore private typedefs when checking for types (#216).
- New
test_types_in_equalslint. - New
await_only_futureslint. - New
throw_in_finallylint. - New
control_flow_in_finallylint.
0.1.14 #
- Fix to respect
@optionalTypeArgs(#196). - Lint to warn if a field overrides or hides other field.
- Fix to allow single char UPPER_CASE non-constants (#201).
- Fix to accept casts to dynamic (#195).
0.1.13 #
- Fix to skip overriding members in API doc checks (
public_member_api_docs). - Fix to suppress lints on synthetic nodes/tokens (#193).
- Message fixes (
annotate_overrides,public_member_api_docs). - Fix to exclude setters from return type checks (#192).
0.1.12 #
- Fix to address
LibraryNamesregexp that in pathological cases went exponential.
0.1.11 #
- Doc generation improvements (now with options samples).
- Lint to sort unnamed constructors first (#187).
- Lint to ensure public members have API docs (#188).
- Lint to ensure constructors are sorted first (#186).
- Lint for
hashCodeand==(#168). - Lint to detect un-annotated overrides (#167).
- Fix to ignore underscores in public APIs (#153).
- Lint to check for return types on setters (#122).
- Lint to flag missing type params (#156).
- Lint to avoid inits to
null(#160).
0.1.10 #
- Updated to use
analyzer0.27.0. - Updated options processing to handle untyped maps (dart-lang/sdk#25126).
0.1.9 #
- Fix
type_annotate_public_apisto properly handle getters/setters (#151; dart-lang/sdk#25092).
0.1.8 #
- Fix to protect against errors in linting invalid source (dart-lang/sdk#24910).
- Added
avoid_empty_elselint rule (dart-lang/sdk#224936).
0.1.7 #
- Fix to
package_api_docs(dart-lang/sdk#24947; #154).
0.1.6 #
- Fix to
package_prefixed_library_names(dart-lang/sdk#24947; #154).
0.1.5 #
- Added
prefer_is_not_emptylint rule (#143). - Added
type_annotate_public_apislint rule (#24). - Added
avoid_aslint rule (#145). - Fixed
non_constant_identifier_namesrule to special case underscore identifiers in callbacks. - Fix to escape
_s in callback type validation (addresses false positives inalways_specify_types) (#147).
0.1.4 #
- Added
always_declare_return_typeslint rule (#146). - Improved
always_specify_typesto detect missing types in declared identifiers and narrowed source range to the token. - Added
implementation_importslint rule (#33). - Test performance improvements.
0.1.3+5 #
- Added
always_specify_typeslint rule (#144).
0.1.3+4 #
- Fixed linter registry memory leaks.
0.1.3 #
- Fixed various options file parsing issues.
0.1.2 #
- Fixed false positives in
unnecessary_brace_in_string_interplint. Fix #112.
0.1.1 #
- Internal code and dependency constraint cleanup.
0.1.0 #
- Initial stable release.
0.0.2+1 #
- Added machine output option. Fix #69.
- Fixed resolution of files in
lib/to use apackage:URI. Fix #49. - Tightened up
analyzerpackage constraints. - Fixed false positives in
one_member_abstractslint. Fix #64.
0.0.2 #
- Initial push to pub.