Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: solid-software/solid_lints
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.1.5
Choose a base ref
...
head repository: solid-software/solid_lints
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.2.0-latest
Choose a head ref
  • 13 commits
  • 83 files changed
  • 9 contributors

Commits on Apr 18, 2024

  1. Improved avoid_late_keyword to support ignoring the subtype of the …

    …node type (#157) (#158)
    
    * Improved `avoid_late_keyword` to support ignoring the subtype of the node type (#157)
    
    * Improved `avoid_late_keyword` to support matching the subtype of the node type (support for nested types for dynamic, Object?, Object) #157
    
    * Update lint_test/avoid_late_keyword_test.dart
    
    Co-authored-by: Yurii Prykhodko <144313329+yurii-prykhodko-solid@users.noreply.github.com>
    
    * Update lib/src/utils/types_utils.dart
    
    Co-authored-by: Yurii Prykhodko <144313329+yurii-prykhodko-solid@users.noreply.github.com>
    
    * Refactored code for `ignored_types` type matching using AST analyzer (#157)
    
    * Divided code into logical parts using the NamedType nodes tree to analyze and compare type names
    
    * Refactored code and reorganized files
    
    ---------
    
    Co-authored-by: Yarl745 <kopailo745@gmail.com>
    Co-authored-by: Yurii Prykhodko <144313329+yurii-prykhodko-solid@users.noreply.github.com>
    3 people authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    979131a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc9825e View commit details
    Browse the repository at this point in the history
  3. Fix improper super calls in proper_super_calls.dart and add Disposabl…

    …e interface in proper_super_calls_test.dart (#160)
    
    * Fix improper super calls in proper_super_calls.dart and add Disposable interface in proper_super_calls_test.dart
    
    * Added a comment that abstract methods should be omitted in proper_super_alls
    4akloon authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    133f96c View commit details
    Browse the repository at this point in the history
  4. Update changelog

    illia-romanenko committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    8db68e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. 149-new-lint-avoid_final_with_getter (#161)

    * add avoid_final_with_getter rule
    
    * Update analysis_options.yaml to exclude final fields with getters
    
    * Refactor avoid_final_with_getter_rule.dart and avoid_final_with_getter_visitor.dart
    
    * Fix incorrect test comments in avoid_final_with_getter_test.dart
    
    * change avoid_final_with_getter, now it lints getter, no getter name equality
    
    * Refactor avoid_final_with_getter_visitor.dart to remove isStatic property from declaredElement
    
    * add more tests to avoid_final_with_getter_test.dart
    
    * Add avoid_final_with_getter rule to CHANGELOG.md
    4akloon authored Apr 19, 2024
    Configuration menu
    Copy the full SHA
    8dc2cd5 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Add a rule prefer_guard_clause for reversing nested if statements (#…

    …154)
    
    * reverse_if_to_avoid_nesting wip
    
    * change name to prefer_guard_close and improve tests
    
    * prefer_guard_clause wip
    
    * fix test name for prefer_guard_clause
    
    * changed to detecting nested if statements
    
    * fix pr comments
    
    * adapt to two sequential if statements
    
    * remove (.length <= 2) limit
    
    * fix alphabetic ordering of imports
    
    * refactor and fix prefer_early_return_visitor.dart to handle nested if statements correctly
    
    * refactor prefer_early_return
    
    ---------
    
    Co-authored-by: alexiuk.genius <alexiuk.genius@gmail.com>
    velvitoff and 4akloon authored Apr 22, 2024
    Configuration menu
    Copy the full SHA
    4ea6cb4 View commit details
    Browse the repository at this point in the history
  2. add exclude params support to avoid_returning_widgets rule (#162)

    * add exclude params support to avoid_returning_widgets rule
    
    * refactor and fix class ignore `avoid_returning_widgets` rule
    4akloon authored Apr 22, 2024
    Configuration menu
    Copy the full SHA
    9be59e9 View commit details
    Browse the repository at this point in the history
  3. add quick fix to avoid_final_with_getter (#164)

    * add avoid_final_with_getter rule
    
    * Update analysis_options.yaml to exclude final fields with getters
    
    * Refactor avoid_final_with_getter_rule.dart and avoid_final_with_getter_visitor.dart
    
    * Fix incorrect test comments in avoid_final_with_getter_test.dart
    
    * change avoid_final_with_getter, now it lints getter, no getter name equality
    
    * Refactor avoid_final_with_getter_visitor.dart to remove isStatic property from declaredElement
    
    * add more tests to avoid_final_with_getter_test.dart
    
    * Add avoid_final_with_getter rule to CHANGELOG.md
    
    * add quick fix to avoid_final_with_getter
    
    * Refactor avoid_final_with_getter_visitor.dart to use local variable instead of accessing visitor.variable directly
    4akloon authored Apr 22, 2024
    Configuration menu
    Copy the full SHA
    dde8e6f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fd6557 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. I168 (#169)

    * Refactor package structure
    
    * fix issues
    sufftea authored Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e55da4c View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. I166 (#170)

    * Rename to avoid_debug_print_in_release
    
    * Implement kDebugMode check
    
    * add doc comments
    
    * Look for the checks all the way up the tree; check for !kReleaseMode instead
    
    * Refactor & fix issues
    
    * fix comments
    
    * fix more comments
    sufftea authored May 2, 2024
    Configuration menu
    Copy the full SHA
    e5fb3e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Fixed analyzer issue, fixed linter (#177)

    solid-glebvorobey authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    fc6b52b View commit details
    Browse the repository at this point in the history
  2. 0.2.0

    illia-romanenko committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    b93fde7 View commit details
    Browse the repository at this point in the history
Loading