版本发布 8
## [6.0.1] - 2025-08-22 🛠️ `Fix`: `no-unused-vars` for modifiers 🛠️ `Fix`: `no-unused-imports` handled for multiline @inheritdoc. Eliminates missed detections with multiline inheritance docs 🛠️ `Fix`: `func-name-mixedcase` improvement, added snake case exception in interface (naming). Aligns interface naming edge cases 🛠️ `Fix`: misc minor issues; docs link and typos. General polish and stability <br><br> 🧰 `Infra`: Update GitHub Actions in CI workflows. Keeps CI up to date and consistent across jobs 🧰 `Infra`: Ignore enhancement to mimic as regular linters <br><br> 🧹 `Chore`: Remove fs-extra dependency. Simplifies deps 🧹 `Chore`: Remove strip-ansi. Cleans unused/legacy deps 🧹 `Chore`: Changed changelog format <br><br> 🧱 `Enhancement`: added config for no-unused-vars to validate parameters or not <br><br> 🧱 `Validation`: Improve AJV schema validation and related caching approach. More robust/faster config validation <br><br> ✨🛡️ Kudos to our contributors! 🛡️✨ - [@smol-ninja](https://github.com/smol-ninja) 🏅 - [@talentlessguy](https://github.com/talentlessguy) 🏅 - [@loki-sama](https://github.com/loki-sama) - [@gonzaotc](https://github.com/gonzaotc) - [@kilavvy](https://github.com/kilavvy) - [@jmendiola222](https://github.com/jmendiola222) - [@Daulox92](https://github.com/Daulox92) - [@RidaMichofi](https://github.com/RidaMichofi) - [@ddnexus](https://github.com/ddnexus) - [@zeevick10](https://github.com/zeevick10) - [@RyanRHall](https://github.com/RyanRHall) - [@fulldecent](https://github.com/fulldecent) - [@ncjones](https://github.com/ncjones)
## [5.2.0] - 2025-06-27 ### Fixed - `imports-order` interference with `no-unused-imports` [#684](https://github.com/protofire/solhint/pull/684) ### Added - Added `cache` flag allowing to skip already evaluated files if no error was thrown and file did not change - [#685](https://github.com/protofire/solhint/pull/685) - Added multi-directory config support by hierarchy - [#678](https://github.com/protofire/solhint/pull/678) - Added better error handling on invalid configs - [#683](https://github.com/protofire/solhint/pull/683) Thanks to [@smol-ninja](https://github.com/smol-ninja) - [@PaulRBerg](https://github.com/PaulRBerg) [@lechpzn](https://github.com/lechpzn), [@otc-png](https://github.com/otc-png), [@MamunC0der](https://github.com/MamunC0der), [@kks-code](https://github.com/kks-code), [@RidaMichofi](https://github.com/RidaMichofi) For making the time of proposing rules, pointing out typos, broken links, unused code, copyright, small reviews, etc. We really appreciate your contributions! <br><br>
## [5.1.0] - 2025-05-05 ### Added - Argument to avoid discord poster - [#646](https://github.com/protofire/solhint/pull/646) - Auto-fix for `no-unused-import` - [#648](https://github.com/protofire/solhint/pull/648) (Thanks to [@DenisGorbachev](https://github.com/DenisGorbachev)) - New Rule: import-path-check - [#657](https://github.com/protofire/solhint/pull/657) ### Updated - yml and parser update - [#668](https://github.com/protofire/solhint/pull/668) (Thanks to [@zeevick10](https://github.com/zeevick10)) - cleanup deprecated code - [#655](https://github.com/protofire/solhint/pull/655) - Improved `ordering` rule - [#656](https://github.com/protofire/solhint/pull/656) ### BREAKING CHANGE - Removed code for `solhint:default` ruleset - [#654](https://github.com/protofire/solhint/pull/654) Thanks to [@fanqiaojun](https://github.com/fanqiaojun), [@maximevtush](https://github.com/maximevtush), [@MaxweLL22-22](https://github.com/MaxweLL22-22), [@PixelPil0t1](https://github.com/PixelPil0t1), [@wgyt](https://github.com/wgyt), [@operagxsasha](https://github.com/operagxsasha), [@Hopium21](https://github.com/Hopium21), [@leopardracer](https://github.com/leopardracer), [@omahs](https://github.com/omahs), [@zeevick10](https://github.com/zeevick10), [@gap-editor](https://github.com/gap-editor), [@Olexandr88](https://github.com/Olexandr88), [@jirutka](https://github.com/jirutka) For making the time of pointing out typos, license update, broken links, unused code, copyright, small reviews, etc. We really appreciate your contributions!
## [5.0.5] - 2025-01-16 ### Fixed - `gas-custom-errors` [#620](https://github.com/protofire/solhint/pull/620) - Support for Custom Errors inside `require` statements - `compiler-version` [#621](https://github.com/protofire/solhint/pull/621) - Upgraded minimum requirement for the rule - `reentrancy` [#622](https://github.com/protofire/solhint/pull/622) - Fixed path and typos - Typos [#623](https://github.com/protofire/solhint/pull/623) - Fixed typos - Typo [#625](https://github.com/protofire/solhint/pull/625) - Fixed typo ### Added - New Rule: Duplicated Imports [#626](https://github.com/protofire/solhint/pull/626) - Cute Message on console report to gather community into discord channel
## [5.0.4] - 2024-12-31 ### Fixed - `imports-order` [#595](https://github.com/protofire/solhint/pull/595) - Replaced single quotes with double quotes - `gas-custom-errors` [#613](https://github.com/protofire/solhint/pull/613) - Allows the use of Requirement with Custom Errors - Typos and broken links [#611](https://github.com/protofire/solhint/pull/611) - [#617](https://github.com/protofire/solhint/pull/617) - Upgraded `solidity-parser` dependency [#612](https://github.com/protofire/solhint/pull/612) ### Added - `.pre-commit-hooks.yaml` to allow projects to run Solhint via pre-commit [#596](https://github.com/protofire/solhint/pull/596) (Thanks to [@dbast](https://github.com/dbast)) - Removed `husky` since it is not needed [#612](https://github.com/protofire/solhint/pull/612)
## [5.0.3] - 2024-08-03 ### Fixed - New Rule: Imports order [#593](https://github.com/protofire/solhint/pull/593)
## [5.0.2] - 2024-07-25 ### Fixed - `func-named-parameters` exclude abi.encodeX from the rule [#583](https://github.com/protofire/solhint/pull/583) (Thanks to [@0xCLARITY](https://github.com/0xCLARITY)) - Several typos in comments [#586](https://github.com/protofire/solhint/pull/586) (Thanks to [@dropbigfish](https://github.com/dropbigfish)) ### Added - New Rule: Imports order [#587](https://github.com/protofire/solhint/pull/587)