Repository navigation
Tags: solid-software/solid_lints
Tags
docs: add dedupe package documentation and comparison table (#372) * docs: add dedupe package documentation and comparison table to notable packages guide * docs: update dedupe description and improve comparison table with avoid_duplicate_code --------- Co-authored-by: Illia Aihistov <illia.aihistov-us@solid.software>
Refactor/simplify avoid duplicate code (#348) * feat: implement exact hash tracking and literal analysis to improve duplicate code detection accuracy * fix: handle FileSystemException in readFileContent to prevent crashes from TOCTOU race conditions * refactor: replace manual iteration with generic IterableUtils.iterate in token utilities * refactor: simplify isCandidateIgnored by using collection-if and spread operators for token collection * refactor: replace groupBy with manual loop to optimize duplicate grouping in CrossFileMatchIterableExtension * refactor: use record destructuring and switch expressions to simplify duplicate report generation * refactor: update CrossFileMatch to use Sets for duplicates and optimize hash grouping logic * refactor: simplify diagnostic reporting logic by using a nullable argument instead of a list * refactor: remove token count guard in global hash registry to detect duplicates with varying literal values --------- Co-authored-by: Illia Aihistov <illia.aihistov-us@solid.software>
Fixed LintCode analyzer issues (#178) * Fixed analyzer issue, fixed linter * Fixed LintCode issue * Fixed LintCode issue * Fixed pubspec * Try to update analyzer version * Try to override analyzer dependency * Add import as instead of hide * Fixed tests fpr custom linter to work correctly
PreviousNext