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.3.1
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.3.2
Choose a head ref
  • 8 commits
  • 70 files changed
  • 6 contributors

Commits on Jun 3, 2025

  1. feat: add named_parameters_ordering (#204)

    * feat: add named_parameters_ordering
    
    * change default named parameters ordering in rule config and test
    extract models from visitor into their separate files
    rename some ParameterType enums to avoid using dart keywords
    add ParameterType.fromType
    remove unnecessary base class from documentation text
    perf(rule): make visitor a class member to avoid recreating new instance
    update test with new default ordering
    
    * Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: vladimir-beloded <x-volodymyr.beloded@transcarent.com>
    Andrew-Bekhiet and vova-beloded-solid authored Jun 3, 2025
    Configuration menu
    Copy the full SHA
    330eb89 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2025

  1. Remove deprecated members (#211)

    * fix: remove deprecated members
    
    * style: remove extra spacing
    xJac0b authored Jun 5, 2025
    Configuration menu
    Copy the full SHA
    2b11b2f View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2025

  1. Configuration menu
    Copy the full SHA
    b6ce57a View commit details
    Browse the repository at this point in the history
  2. Lint default constructor and named parameter (issue #126) (#212)

    * feat: lint default constructor only
    
    * feat: add named parameter
    
    * fix: rename test package
    
    * fix: add explicit null check
    
    * CR fixes
    
    * fix: make default constructor identifier field private
    xJac0b authored Jun 6, 2025
    Configuration menu
    Copy the full SHA
    ee3e27d View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2025

  1. Add new rule: dont_create_a_return_var (#220)

    * Issue #92, new rule `dont_create_a_return_var`:
    - added rule class (no rule implementation)
    - added test cases
    
    * Issue #92: added rule in analysis_options.yaml
    
    * Issue #92: added new test case
    
    * Issue #92: added naive implementation for dont_create_a_return_var_rule
    
    * Issue #92: fixed conflicting lints in test
    
    * Issue #92: added test case where return var defined from mutable, but return goes just after (bad practice, not valid caching case)
    
    * Issue #92: implemented advanced rule with visitor, checking where variable is defined as well as how often is used
    
    * Issue #92: fixed formatting with 'dart format'
    
    * Issue #92: changed if chain to switch statement (more readable)
    
    * Issue #92: renaming rule to avoid_unnecessary_return_variable
    
    * Issue #92: small readability improvements
    
    * #Issue 92: renamed test file accordingly
    tozpeak authored Oct 2, 2025
    Configuration menu
    Copy the full SHA
    69ea981 View commit details
    Browse the repository at this point in the history
  2. Issues #92, #148: refactor to use common code between two rules (#221)

    * Issues #92, #148: refactor to use common code between two rules
    
    * Issues #92, #148: fixed code formatting
    
    * Issues #92, #148: simplified to use expr.accept(visitor)
    
    * Issues #92, #148: removed unnecessary super call
    tozpeak authored Oct 2, 2025
    Configuration menu
    Copy the full SHA
    7a96dd6 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2025

  1. chore: upgrade to analyzer 8 (#223)

    * chore: upgrade to analyzer 8
    chore: replace usage of deprecated members
    
    * refactor: replace use of Diagnostic.data with expando
    
    * fix: upgrade example custom_lint dependency
    
    * docs: add changelog for 0.3.2 release
    andrew-bekhiet-solid authored Dec 3, 2025
    Configuration menu
    Copy the full SHA
    a532d0d View commit details
    Browse the repository at this point in the history
  2. 0.3.2

    illia-romanenko committed Dec 3, 2025
    Configuration menu
    Copy the full SHA
    e57ddac View commit details
    Browse the repository at this point in the history
Loading