lint 2.2.0 copy "lint: ^2.2.0" to clipboard
lint: ^2.2.0 copied to clipboard

An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter

Changelog #

2.2.0 #

Requires Dart sdk: '>=3.1.0'

2.1.2 #

Requires Dart sdk: '>=3.0.0'

2.1.1 #

  • Disable avoid_positional_boolean_parameters due to new false positives in Dart 3.0

2.1.0 #

Requires Dart sdk: '>=3.0.0-0'

  • Remove implicit-casts: false
  • Enable strict-casts: true

2.0.20 #

2.0.1 #

  • Update changelog

2.0.0 #

Requires Dart sdk: '>=2.18.0'

1.10.0 #

Requires Dart sdk: '>=2.17.0'

1.9.0 (Future release) #

Requires Dart sdk: '>=2.16.0 <3.0.0'

  • Enable unnecessary_late
  • Remove strict pana rules from analysis_options_package.yaml
    • lines_longer_than_80_chars
    • prefer_single_quotes

1.8.2 #

pana lint rules have been relaxed. No need for those two rules in the package version:

1.8.1 #

Requires Dart sdk: '>=2.15.0-7.0.dev <3.0.0'

Package #

Big thanks to @rydmike for comparing all popular lint packages, identifying missing rules for this lint

1.8.0 #

Requires Dart sdk: '>=2.15.0-7.0.dev <3.0.0'

1.7.3 #

1.7.2 #

Requires Dart sdk: '>=2.14.0-360.0.dev <3.0.0'

1.7.1 #

Requires Dart sdk: '>=2.14.0-172.0.dev <3.0.0'

1.7.0 #

Requires Dart sdk: '>=2.14.0-2.0.dev <3.0.0'

1.6.0 #

1.5.3 #

1.5.2 #

1.5.1 #

Min SDK is 2.12.0-0

Widen SDK contraints as long as nnbd is still in beta.

1.5.0 #

Min SDK is 2.12.0

  • NNBD support

1.4.0-dev.d210.1 #

Release for Dart 2.10.0 with Linter v0.1.118

Min SDK is 2.10.0-5.0.dev

1.3.0 #

Release for Dart 2.9.0 with Linter v0.1.117

Min SDK is 2.9.0-16.0.dev

1.3.0-dev.d29.1 #

Dart SDK: >= 2.9.0-4.0.dev • (Linter v0.1.115)

1.2.0 #

1.2.0-dev.d28.2 #

Raise min sdk to 2.8.0-dev.16.0

1.2.0-dev.d28.1 #

1.1.1 #

  • Fix syntactical error which breaks custom rules #5

1.1.0 #

Release for Dart 2.7

1.0.0 #

Release for Dart 2.6

0.3.1 #

0.3.0 #

  • Disable one_member_abstracts #2
  • Disable sort_constructors_first #1

New version schema:

  • 0.3.0+dart202: Dart 2.2 Release sdk: '>=2.2.0 <2.3.0'
  • 0.3.0+dart203: Dart 2.3 Release sdk: '>=2.3.0 <2.4.0'
  • 0.3.0+dart204: Dart 2.4 Release sdk: '>=2.4.0 <2.5.0'
  • 0.3.0+dart205: Dart 2.5 Release sdk: '>=2.5.0 <3.0.0'

0.2.3 #

  • Release for Dart 2.5 enables
    • avoid_print

0.2.2 #

  • Release for Dart 2.4 enables
    • prefer_if_null_operators
    • sort_child_properties_last
    • unsafe_html

0.2.1 #

  • Release for Dart 2.3 enables
    • prefer_for_elements_to_map_fromIterable
    • prefer_if_elements_to_conditional_expressions
    • prefer_inlined_adds
    • prefer_spread_collections

0.2.0 #

  • Fix analysis_options_package.yaml (wrong import)
  • Release for Dart 2.2. All incompatible rules are removed

0.1.1 #

  • pubspec.yaml homepage fix

0.1.0 #

  • app rule set analysis_options_package.yaml
  • package rule set analysis_options_package.yaml
849
likes
160
points
178k
downloads

Publisher

verified publisherpascalwelsch.com

Weekly Downloads

An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter

Repository (GitHub)
View/report issues

Topics

#lint

Documentation

API reference

License

Apache-2.0 (license)

More

Packages that depend on lint