Commit graph

90 commits

Author SHA1 Message Date
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
Jan Jurzitza
4c759b072c
include resolved autofixes in --report output (#915) 2023-07-09 09:44:02 +02:00
WebFreak001
43caad72a8 add CLI API to get autofixes at location 2023-07-08 23:09:33 +02:00
WebFreak001
4194e6af0c add dscanner fix command 2023-07-08 23:09:33 +02:00
WebFreak001
78f2b5a420 add colored output option
also adds a simpler way to invoke D-Scanner for users that uses this new
UI by default: `dscanner lint FILES...`
2023-07-02 13:33:11 +02:00
WebFreak001
eceb2743a8 rename .dscanner.ini to dscanner.ini
There doesn't really seem to be any reason to keep it a non-standard path.

Fix #896
2023-06-30 13:59:33 +02:00
Zachary Yedidia
cd6dae90bc Update readme CI badge 2023-02-01 10:52:44 +01:00
WebFreak001
cdf881c103 add cyclomatic complexity check
Fix #684

Disabled by default.
2022-02-11 20:17:23 +01:00
Shigeki Karita
7c54e445c6 Add max_line_length config 2022-01-21 13:24:35 +01:00
Andre Pany
3b6bbad9fe Added reportFormat sonarQubeGenericIssueData 2019-09-11 12:53:26 +02:00
Frank LENORMAND
94d102a5f6 Document --errorFormat (#767)
* Document the "--errorFormat" in the usage message

* Document the "--errorFormat" in the README
2019-07-02 23:00:16 +02:00
Basile Burg
436a961934 Revert "ci, add codecov (#741)"
This reverts commit 0b84fc9b6b.
2019-01-03 03:05:03 +01:00
BBasile
0b84fc9b6b ci, add codecov (#741)
ci, add codecov
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-02 16:23:18 +01:00
BBasile
058d024da2 specify how -S works with folders and cwd (#730)
specify how -S works with folders and cwd
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-11-30 17:19:39 +01:00
Sebastian Wilzbach
570796ca28 Auto-deploy to DockerHub 2018-06-29 17:16:29 +02:00
Sebastian Wilzbach
558c1bf6cf Fix #438 - check for __gshared and immutable redundancies 2018-04-06 10:46:21 +02:00
BBasile
0e35538bbd Adds a check for too much trusted scope, close #545 (#581)
Adds a check for too much trusted scope, close #545
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-04-02 07:48:20 +02:00
Sebastian Wilzbach
cb073c3cf0 Add check for if constraint indendation 2018-03-22 21:03:10 +01:00
The Dlang Bot
e9c4587fd5
Merge pull request #495 from wilzbach/assert_without_msg
Add check for asserts without an explanatory message
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-12-16 04:16:24 +01:00
Basile Burg
ce6056d4bc fix #275 - cant run tests under windows (#504)
* fix #275 - cant run tests under windows

* fix typo
2017-07-27 16:01:02 +02:00
Sebastian Wilzbach
5ba4a7bffa Add check for asserts without an explantory message 2017-07-08 03:30:50 +02:00
Sebastian Wilzbach
45ef861268 Fix #457 - Allow to apply checks only for specific modules (#460)
* Fix #457 - Allow to apply checks only for specific modules

* update inifiled to 1.0.2

* Compile dependencies separately, s.t. their unittests don't get executed
2017-06-30 04:31:07 +02:00
Sebastian Wilzbach
ba751105a2 Merge pull request #470 from dlang-community/has_public_example
Add has_public_example check
2017-06-28 02:22:35 +02:00
Sebastian Wilzbach
e065d07573 Add has_public_example check
A check for public declaration without a documented unittest.
2017-06-25 09:30:44 +02:00
clYd3r
721f2bc907 Add syntax highlighting to the readme (#478) 2017-06-24 15:40:18 +03:00
Sebastian Wilzbach
764921634e Add check for redundant attributes (#441) 2017-06-15 11:15:58 +02:00
Sebastian Wilzbach
09205ddaf9 Add allman check (#446) 2017-06-12 13:33:23 +02:00
Brian Schott
8ebebb7575 Merge pull request #433 from wilzbach/dub-readme
Add installing with DUB instructions
2017-05-18 14:20:53 -07:00
Basile Burg
6e9e841a9a Add a check for useless initializers, close #285 (#429)
* Add a check for useless initializers, close #285

# Conflicts:
#	src/analysis/config.d

* remove duplicated oror condition

* remove useless protection

* also handle several case of assignation to init

* assign to init, forgot to test for ".init"

* update with new configuration initialization
2017-05-17 17:46:10 +02:00
Sebastian Wilzbach
efc771fc7a Add installing with DUB instructions 2017-05-17 13:08:57 +02:00
Richard Andrew Cattermole
67834d50df Merge pull request #412 from BBasile/issue-406
disable Phobos-specific checks by default, close #406
2017-05-12 16:39:01 +12:00
Basile Burg
1a2232f724 update readme badge address (#427)
update readme badge address
2017-05-08 16:26:35 +02:00
Basile Burg
7a74a70e85
disable Phobos-specific checks by default, close #406 2017-05-08 01:30:29 +02:00
Basile Burg
b615d3e299
implement a check for the virtual calls inside constructors, close #423 2017-04-16 03:58:10 +02:00
Basile Burg
9b97b7d929
add a checker for cases where final is a noop 2017-01-16 06:38:55 +01:00
Basile Burg
734d47e9a2
add a check for the auto functions without return statement 2016-09-07 07:08:13 +02:00
Basile Burg
f9bb76782c
fixup for #368, readme and source comment still stated the prev.behavior 2016-09-03 22:31:32 +02:00
Hackerpilot
5994c760a4 Fix #355 2016-06-10 18:27:59 -07:00
Ianis G. Vasilev
265d102ad3 Updated the readme to reflect the CWD-based config file search 2016-05-20 02:34:40 +03:00
Basile Burg
c101a6e1f7 Added an option that allows to skip the unittests analysis
allow each check to be individually skipped in the unit tests

useless assertions must always be detected
2016-05-12 17:14:32 +02:00
Sebastian Wilzbach
2d717530b7 notice about --config option 2016-04-15 21:06:11 +03:00
Hackerpilot
fff79541af Remove documentation for old --recursive option. Close #301 2016-01-26 23:34:16 -08:00
Hackerpilot
d6062e42ed Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2016-01-07 15:56:09 -08:00
Hackerpilot
80516ade0d Update dsymbol dependency for better ddoc parsing; update README 2016-01-07 15:55:59 -08:00
Hackerpilot
6fcb102936 Fix #295 2015-12-01 13:46:06 -08:00
Hackerpilot
93d2bc17d8 Fix #241 2015-11-04 17:20:01 -08:00
Hackerpilot
ceff31d216 Fix #132 2015-10-30 13:33:54 -07:00
Brian Schott
4109254e7b Merge pull request #288 from Hackerpilot/0.3.0-dev
0.3.0 dev
2015-10-26 17:39:44 -07:00
Pradeep Gowda
c92ee7c398 fix typo. add link text. 2015-10-09 09:21:12 -04:00
Hackerpilot
80d358d8ca Add CI status link and made naming more consistent 2015-09-18 11:51:49 -07:00