Commit Graph

15 Commits

Author SHA1 Message Date
Albert24GG 96b1f61ec2 Bump dmd version 2025-09-02 18:28:41 +03:00
Vladiwostok 795d825c04 Cleanup code and fix integration tests (#172)
* Delete libdparse unit test assertion function

* Delete unused libdparse visitors from base.d

* Improve StaticIfElse warning location

* Improve FunctionAttributeCheck warning location

* Switch to DMD flow for listing autofixes

* Extract dmd analyzer selection in a separate function

* Make getName() method in BaseAnalyzerDmd public

* Fix offsets in integration test json

* Improve StyleChecker warning location

* Enable integration tests in CI

* Fix Autofix flow

* Remove & comment dead code

* Remove dead code from autofix unit test

* Remove dead code

* Remove dead code from autofix.d

* Clean up code in helpers.d

* Clean up code in run.d and migrate StatsCollector to dmd

* Fix reading code from stdin

* Return if errors are found in analysis flows

* Remove dead code

* Check for Windows line terminators in integration tests
2025-08-29 13:16:44 +03:00
Vladiwostok 8c61dc3cad Fix Autofix for LengthSubtractionCheck (#169) 2025-08-29 13:16:44 +03:00
Vladiwostok 116a4ea3d2 Remove unused imports (#166) 2025-08-29 13:16:44 +03:00
Eduard Staniloiu 0eb408f82a Update build bat 2025-08-29 13:16:44 +03:00
lucica28 ec0d82e62c replace libdparse in length subtraction visitor (#42) 2025-08-29 13:16:44 +03:00
Hiroki Noda 17f3286fef Clearify key names 2024-05-06 10:08:53 +02:00
WebFreak001 42033dcc55 add BaseAnalyzerArguments to keep ctor changes sane
also immediately makes tokens a part of it

This struct can for example precompute token indices for line endings
2023-10-25 08:49:37 +02:00
WebFreak001 93aae57469 add autofix testing API 2023-07-08 23:09:33 +02:00
WebFreak001 513b7dafc3 add auto-fix API 2023-07-08 23:09:33 +02:00
WebFreak001 bad253bad5 remove unused variables 2023-06-29 14:57:32 +02:00
WebFreak001 5c2035ff76 add end line/column to warnings 2023-06-29 13:19:36 +02:00
Eugene Wissner 3b9d608866 Track check name for error messages (#769)
* Track check name for error messages

* Assert BaseAnalyzer.getName() is implemented
2019-07-09 12:16:25 +02:00
Basile Burg 8c44dd5092 Set all checkers class "final" 2018-04-22 20:33:58 +02:00
Laurent Tréguier 2be1a1f22f Move everything under package `dscanner` (#526)
* Move everything under package `dscanner`

* Fix .gitignore

* Fix .dscanner.ini
2018-03-22 20:15:42 +01:00