lucica28
d9ee7c8203
replace libdparse in statif if else visitor ( #56 )
2024-01-29 16:09:51 +02:00
lucica28
50c4d3b9b6
replace libdparse in redundant parens check ( #61 )
2024-01-29 16:07:39 +02:00
lucica28
396bedcd10
update dmd and include the API needed for semantic analysis ( #66 )
...
* update dmd and include the API needed for semantic analysis
* update libparse + initial implementation for properly documented public functions
* test
* refactor
* update workflows
* delete unused code
2024-01-29 16:05:33 +02:00
lucica28
8750717321
replace libdparse in backwards range check ( #58 )
2024-01-29 15:38:46 +02:00
lucica28
5aaaee12c3
update dmd ( #57 )
2024-01-29 15:35:03 +02:00
lucica28
57601895f8
replace libdparse in builtin properties visitor ( #52 )
2024-01-29 15:34:59 +02:00
lucica28
8467cf3055
replace libdparse in logic precedence visitor ( #54 )
2024-01-29 15:33:05 +02:00
lucica28
e1639b4b10
replace libdparse in auto ref assignment ( #51 )
2024-01-29 15:31:30 +02:00
lucica28
710c184259
replace libparse in opequals without tohash visitor ( #53 )
2024-01-29 15:28:38 +02:00
lucica28
82bc26b7be
replace libdpase in assert without msg visitor ( #50 )
2024-01-29 15:26:14 +02:00
lucica28
18a5a09a23
replace libdparse in local imports visitor ( #45 )
2024-01-29 15:16:16 +02:00
lucica28
1ce09a0cbd
replace libdparse in constructor check ( #43 )
2024-01-29 15:14:31 +02:00
lucica28
00cbad301d
update dmd ( #48 )
2024-01-24 14:43:34 +02:00
lucica28
7a017e049b
replace libdparse in alias style visitor ( #38 )
2024-01-24 14:43:33 +02:00
lucica28
761778b3f4
replace libdparse in explicitly annotated unittests check ( #44 )
2024-01-24 14:35:27 +02:00
lucica28
dd1ab872c1
replace libdparse in length subtraction visitor ( #42 )
2024-01-24 14:29:46 +02:00
lucica28
1cf2f30c32
replace libdparse in redundant attributes visitor ( #40 )
2024-01-24 14:26:00 +02:00
lucica28
b4884e3a3a
replace libdparse in imports sortedness visitor ( #35 )
...
* replace libdparse in imports sortedness visitor
* minor refactor
2024-01-24 13:53:35 +02:00
lucica28
34a051e6f9
update dmd ( #39 )
2024-01-24 13:50:44 +02:00
lucica28
8f625c2747
replace libparse in incorrect infinite range visitor ( #33 )
2024-01-24 13:50:42 +02:00
lucica28
e3cdf62ff3
update dmd ( #37 )
2024-01-24 13:46:20 +02:00
lucica28
16b69e503a
replace libparse in final attribute visitor ( #34 )
2024-01-24 13:46:18 +02:00
Eduard Staniloiu
8351672c50
Fix version flags for gdc and ldc2 ( #32 )
2024-01-24 13:28:32 +02:00
lucica28
fa631b9d49
Update dmd ( #25 )
...
* update dmd
* update dmd
2024-01-24 13:28:32 +02:00
lucica28
3bb05474ce
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>
2024-01-24 13:28:32 +02:00
lucica28
664b9e25d5
replace libdparse in delete check ( #21 )
...
* replace libdparse in delete check
* delete comment
2024-01-24 13:28:29 +02:00
lucica28
34e4073105
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
2024-01-24 13:25:41 +02:00
Lucian Danescu
150643c4d3
Replace libdparse in enum array functionality
2024-01-24 13:14:35 +02:00
Eduard Staniloiu
ab430835ab
Add dmd dependencies to build.bat
2024-01-24 12:54:38 +02:00
Eduard Staniloiu
ba99ca281a
Add dmd dependencies to dub.json
2024-01-24 12:53:55 +02:00
Eduard Staniloiu
c38077cd9b
Fix linter errors
2024-01-24 12:52:28 +02:00
Eduard Staniloiu
214bb4981c
Update action to build dlang fork
2024-01-24 12:52:28 +02:00
Eduard Staniloiu
6cf762624d
Add style checker ( #9 )
2024-01-24 12:52:28 +02:00
Razvan Nitu
d7623ebbb4
Fix failing tester + add unittest for imports ( #7 )
2024-01-24 12:52:28 +02:00
lucica28
5a9ed94d74
Removed libdparse from imports print functionality ( #3 )
2024-01-24 12:52:28 +02:00
Eduard Staniloiu
4a874cba99
Add GH Actions build script ( #4 )
2024-01-24 12:52:28 +02:00
Razvan Nitu
113228120b
Add dmd-as-a-library submodule ( #2 )
2024-01-24 12:52:24 +02:00
RazvanN7
2e499f4428
Update README
2024-01-24 12:50:16 +02: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