Commit Graph

934 Commits

Author SHA1 Message Date
Vitalii Elenhaupt 81631af631
Merge pull request #136 from crystal-ameba/feat/empty-loop
New rule: EmptyLoop
2020-03-26 10:35:06 +02:00
Vitalii Elenhaupt a6958ab455
New rule: EmptyLoop 2020-03-26 10:27:00 +02:00
Vitalii Elenhaupt 1a0468c653
Use NodeVisitor by default and remove the boilerplace code 2020-03-25 18:21:07 +02:00
Vitalii Elenhaupt 1d827b4969
Add specs for COMMENT_DIRECTIVE_REGEX 2020-03-25 18:14:15 +02:00
Vitalii Elenhaupt 4a8320d1e0
Merge pull request #135 from crystal-ameba/feat/shared-var-in-spawn
New rule: SharedVarInSpawn
2020-03-25 17:54:29 +02:00
Vitalii Elenhaupt 4f185db0a2
New rule: SharedVarInSpawn
closes #132
2020-03-25 17:52:20 +02:00
Vitalii Elenhaupt 0002c36fae
RedundantNext params 2020-03-24 18:27:49 +02:00
Vitalii Elenhaupt eb104a04f7
Merge pull request #134 from crystal-ameba/feat/redundant-next
New rule: RedundantNext
2020-03-24 18:10:45 +02:00
Vitalii Elenhaupt a5dd07e9e4
New rule: RedundantNext
closes #131
2020-03-24 18:06:01 +02:00
Vitalii Elenhaupt 946ec67fae
Include binary op node to redundant return 2020-03-22 20:12:24 +02:00
Vitalii Elenhaupt 6a913be980
Merge pull request #125 from crystal-ameba/config-globs
Ability to configure globs and globally excluded paths
2020-03-22 15:12:10 +02:00
Vitalii Elenhaupt 9a6c4e52f4
Document Globs/Excluded 2020-03-22 15:08:04 +02:00
Vitalii Elenhaupt 2303bd82ae
Ability to excluded globally 2020-03-22 15:05:47 +02:00
Vitalii Elenhaupt bffc46c545
Ability to configure globs 2020-03-22 15:05:47 +02:00
Vitalii Elenhaupt 4638f4cdf1
Add patreon to funding 2020-03-08 17:47:34 +02:00
Vitalii Elenhaupt 6694c3f13e
Update the link to liberapay 2020-03-08 17:15:22 +02:00
Vitalii Elenhaupt aff723b682
Incorrectly reporting shadowingOuterLocalVar within macro included
closes #129
2020-02-15 20:49:47 +02:00
Vitalii Elenhaupt 43b566a852
Crystal 0.33 formatting 2020-02-15 17:33:20 +02:00
Vitalii Elenhaupt cc3200f3cf
Reformat sources 2020-01-11 23:58:06 +02:00
Vitalii Elenhaupt 74dfa0b934
Lint/UselessAssign: ignore transformed assignemnts by the compiler
closes #127
2020-01-11 23:51:28 +02:00
Hannes Käufler 976f9729d5 Fix link to crystal-lang.org (#123)
Without the scheme prefix it is being treated as a relative link inside this repo.
2019-12-15 19:09:33 +02:00
Vitalii Elenhaupt 3f54786ec6
Prevent error when run file exists 2019-11-29 21:55:24 +02:00
Vitalii Elenhaupt a4eb4afbcc
Bump v0.11.0 2019-11-29 20:25:08 +02:00
Vitalii Elenhaupt 6ff2582158
Link integrations 2019-11-25 14:11:17 +02:00
Vitalii Elenhaupt e8c00d171f
Fix crystal docs 2019-11-25 14:08:22 +02:00
Vitalii Elenhaupt 6b56c87e78
Shadowing via short instance variable syntax
closes #122
2019-11-11 15:51:09 +02:00
Vitalii Elenhaupt fde321f7e6
New rule: RedundantWithObject (#121) 2019-11-10 09:47:30 +02:00
Vitalii Elenhaupt b6cc454039
New rule: RedundantWithIndex (#120) 2019-11-10 09:29:17 +02:00
Vitalii Elenhaupt 4a54f6d347
Preserve run_file
closes #119
2019-11-09 23:15:01 +02:00
Vitalii Elenhaupt 07e72b7bf9
Lint in parallel (#118)
* Lint in parallel

* Synced output for dot/flycheck formatters

* Re-raise exceptions raised in fibers

* Add readme instructions
2019-11-09 19:31:41 +02:00
Vitalii Elenhaupt 8d00d54012
Fix typos 2019-10-28 00:02:31 +02:00
Vitalii Elenhaupt 4ae0195628
Avoid duplicated sections in a generated TODO file (additional fix) 2019-10-27 22:56:53 +02:00
Vitalii Elenhaupt 111596541b
Avoid duplicated sections in a generated TODO file 2019-10-27 22:15:04 +02:00
Vitalii Elenhaupt 19d9223ec1
Properly detect if scope references a variable 2019-10-27 21:53:07 +02:00
Vitalii Elenhaupt 904b5beec2
Lint/UnusedArgument: fails to recognized used argument inside macro
closes #117
2019-10-27 21:32:55 +02:00
Vitalii Elenhaupt 677c75716f
Typeof scope 2019-10-27 21:22:33 +02:00
Vitalii Elenhaupt 2704a0d8b1
Do not generate todo file there are no issues 2019-10-27 17:49:30 +02:00
Vitalii Elenhaupt 8a27a36c49
Bump v0.10.1 2019-09-14 18:33:28 +03:00
Sijawusz Pur Rahnama d418fb0ef7 Surround __DIR__ with quotes to handle paths with spaces (#114) 2019-09-14 18:31:55 +03:00
Vitalii Elenhaupt 504f537208
Parse docs 2019-07-22 16:23:59 +03:00
Vitalii Elenhaupt 8843235f5f
Change link to travis 2019-07-20 15:26:48 +03:00
Vitalii Elenhaupt cc73602e75
Update links in readme 2019-07-20 15:18:35 +03:00
Vitalii Elenhaupt f135389181
New logo 2019-07-20 15:04:36 +03:00
Vitalii Elenhaupt 9065a5f414
Remove unneeded code to support crystal 0.24.2 2019-07-19 23:51:30 +03:00
Vitalii Elenhaupt 276fc4409f
Let it be extensible (#112) 2019-07-18 13:53:04 +03:00
Vitalii Elenhaupt b868d88a85
CyclomaticCompexity: report onle def name 2019-07-12 23:33:08 +03:00
Vitalii Elenhaupt 54706192d2
Default cmd args 2019-07-06 22:42:50 +03:00
Vitalii Elenhaupt 0c7811411e
Increment compatible Crystal version 2019-06-06 19:12:31 +03:00
Vitalii Elenhaupt cb4c3a9d17
Version bump 0.10.0 2019-06-06 19:11:23 +03:00
Vitalii Elenhaupt ffa5dc9b4c
Crystal 0.29 fixes (#109)
* Fixes vs crystal head

* Use crystal nightly

* Remove trailing ? from local variable

* Do not use ? in the lhs

ref https://github.com/crystal-lang/crystal/issues/6685#issuecomment-419758587

* Upgrade to crystal 0.29.0 (warnings free) (#108)

* Remove trailing ? from local variable (take 2)

* Fix Time.now deprecation warnings

* Remove Crystal nightly
2019-06-06 19:10:26 +03:00