Commit Graph

1601 Commits

Author SHA1 Message Date
lucica28 fa2a67d0ca replace libparse in incorrect infinite range visitor (#33) 2025-08-29 13:16:44 +03:00
lucica28 1c9879fb82 update dmd (#37) 2025-08-29 13:16:44 +03:00
lucica28 3b9fe154a1 replace libparse in final attribute visitor (#34) 2025-08-29 13:16:44 +03:00
Eduard Staniloiu 1e25cf3385 Fix version flags for gdc and ldc2 (#32) 2025-08-29 13:16:44 +03:00
lucica28 0b97575f2e Update dmd (#25)
* update dmd

* update dmd
2025-08-29 13:16:44 +03:00
lucica28 1d8e8f341c Update dmd (#23)
* Update README

* Add dmd-as-a-library submodule (#2)

* Add GH Actions build script (#4)

* Removed libdparse from imports print functionality (#3)

* Fix failing tester + add unittest for imports (#7)

* Add style checker (#9)

* Update action to build dlang fork

* Fix linter errors

* Add dmd dependencies to dub.json

* Add dmd dependencies to build.bat

* Replace libdparse in enum array functionality

* replace libdparse in objectconst functionality + unittests integration with dmd (#17)

* replace libdparse in objectconst functionality + unittests integration with dmd

* updated dmd

* run tests

* use templates

* visit aggregate declaration

* updated dmd

* solve linter seg fault

* get rid of dup + refactor

* fix typo

* update dmd to latest version

Co-authored-by: RazvanN7 <razvan.nitu1305@gmail.com>
Co-authored-by: Eduard Staniloiu <edi33416@gmail.com>
2025-08-29 13:16:44 +03:00
lucica28 0c470eaa50 replace libdparse in delete check (#21)
* replace libdparse in delete check

* delete comment
2025-08-29 13:16:44 +03:00
lucica28 7c9f8cb97b replace libdparse in objectconst functionality + unittests integration with dmd (#17)
* replace libdparse in objectconst functionality + unittests integration with dmd

* updated dmd

* run tests

* use templates

* visit aggregate declaration

* updated dmd

* solve linter seg fault

* get rid of dup + refactor

* fix typo
2025-08-29 13:16:44 +03:00
Lucian Danescu f6961acd7e Replace libdparse in enum array functionality 2025-08-29 13:16:44 +03:00
Eduard Staniloiu d2a5d7a922 Add dmd dependencies to build.bat 2025-08-29 13:16:44 +03:00
Eduard Staniloiu a8ae1b36cc Add dmd dependencies to dub.json 2025-08-29 13:16:44 +03:00
Eduard Staniloiu fc8aef9ebd Fix linter errors 2025-08-29 13:16:44 +03:00
Eduard Staniloiu f79fcf54fb Update action to build dlang fork 2025-08-29 13:16:44 +03:00
Eduard Staniloiu 48158f42ea Add style checker (#9) 2025-08-29 13:16:44 +03:00
Razvan Nitu 379b3f7f59 Fix failing tester + add unittest for imports (#7) 2025-08-29 13:16:44 +03:00
lucica28 1960b5fa79 Removed libdparse from imports print functionality (#3) 2025-08-29 13:16:44 +03:00
Eduard Staniloiu d6e68087e0 Add GH Actions build script (#4) 2025-08-29 13:16:44 +03:00
Razvan Nitu 0b121c794b Add dmd-as-a-library submodule (#2) 2025-08-29 13:16:44 +03:00
RazvanN7 56d9933598 Update README 2025-08-29 13:16:44 +03:00
WebFreak001 dc907e4a24 upgrade libdparse 2025-03-23 13:56:16 +01:00
Jan Jurzitza 3a87c65bac
Update actions/upload-artifact 2025-03-01 01:01:41 +00:00
Hiroki Noda 796d212b05 Fix: add build type for macos-13 runner with dmd 2024-05-06 11:31:18 +02:00
Hiroki Noda a8c4a588b2 CI: specify macos-13 for DMD 2024-05-06 11:31:18 +02:00
Hiroki Noda cc1a2c0178 CI: update actions/checkout to v4 2024-05-06 11:31:18 +02:00
Hiroki Noda ff0a9bc2ee CI: restrict dmd to macOS latest 2024-05-06 11:31:18 +02:00
Hiroki Noda 565087aa76 [ci skip]: use indent style for yaml 2024-05-06 10:42:51 +02:00
Hiroki Noda fe8f7bd8bc chore: remove travis related things 2024-05-06 10:11:11 +02:00
Hiroki Noda 22c9f980ae Allow skipping checks for dscanner.suspicious.unmodified with nolint 2024-05-06 10:10:54 +02:00
Hiroki Noda 17f3286fef Clearify key names 2024-05-06 10:08:53 +02:00
ryuukk 433d1eb73e Print to stdout 2024-02-08 03:46:26 +01:00
SixthDot 9076f7bab3
docs(dscanner/utils): Update obsolete url in comment (#944)
Co-authored-by: Petar Kirov <petar.p.kirov@gmail.com>
2024-01-01 11:08:09 +02:00
Jeremy Baxter 01e90ec4d8 Fix build on BSD
Removed the line `SHELL:=/usr/bin/env bash'. Most BSDs don't ship bash in the
base system by default and the build doesn't need it anyway.

Also added some more version statements to define useXDG for the other BSDs.
2023-12-26 13:10:01 +01:00
WebFreak001 8612841365 fix compilation on old compilers 2023-10-25 08:49:37 +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
ricardaxel 1e8f1ec9e6
Allow skipping checks with @("nolint(...)") and @nolint("...") (#936)
Co-authored-by: Axel Ricard <contact@axelricard.fr>
Co-authored-by: WebFreak001 <gh@webfreak.org>
2023-10-13 02:45:59 +02:00
Axel Ricard 69d824f4f7 introduce variable expandedArgs 2023-10-11 00:34:00 +02:00
Axel Ricard 3bf3f25f9a add --exclude cli option
This excludes given files or directory from linting
2023-10-11 00:34:00 +02:00
Axel Ricard 87f85c7db7 add some utils functions for path manipulation 2023-10-11 00:34:00 +02:00
Prajwal S N 159e9c9eec feat(highlight): support multiple themes
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2023-09-24 19:36:21 +02:00
Robert Schadek b43c8f45cf Always Check Curly
Check that if|else|for|foreach|while|do|try|catch
are always followed by a BlockStatement aka. { }

closer

can not get the test to work

try to get the AutoFix in place

maybe a fix

nicer messages

some formatting

more tinkering

still nothing

autofix work now

AutoFix name

message to message_postfix
2023-09-24 19:35:46 +02:00
WebFreak001 fc1699bb97 simplify it.sh 2023-09-24 15:31:50 +02:00
WebFreak001 6491d792f5 support `@arguments.rst` for args through file 2023-09-24 15:31:50 +02:00
WebFreak001 a958f9ac7b fix unused variable check for unitthreaded checks
such as `a.should == b`
2023-07-17 14:41:07 +02:00
WebFreak001 c8262f4220 fix auto_function autofix for `auto ref fn()` 2023-07-17 11:32:16 +02:00
WebFreak001 f22b2e587c Disable auto_function_check by default
Since it may be used to auto-infer function attributes
2023-07-17 11:32:16 +02:00
WebFreak001 5d67707744 more sane parentheses fix for delegates
not sure what I was thinking with the initial version
2023-07-13 16:42:36 +02:00
WebFreak001 7601fe65f9 fix diagnostic location for `@UDA auto f() {}` 2023-07-10 22:05:26 +02:00
WebFreak001 c1e051bfba fix infinite allocating in context formatter 2023-07-10 13:57:27 +02:00
WebFreak001 48db254fb0 fix if scopes and shortened function bodies 2023-07-10 00:52:04 +02:00
WebFreak001 d275361153 fix case/default scopes, fix #913 2023-07-10 00:52:04 +02:00