Vitalii Elenhaupt
c3260c1740
Move to YAML::Serializable
2020-06-15 14:29:49 +03:00
Vitalii Elenhaupt
25fd493145
Fix compatiblity with crystal nightly
2020-05-14 11:43:13 +03:00
Sijawusz Pur Rahnama
41b31a9a3e
Test against Crystal nightlies
2020-05-05 16:57:28 +03:00
Vladislav Trotsenko
bdeb6e3391
Feature/Layout trailing lines, final newline checkup ( #152 )
2020-05-05 16:52:24 +03:00
Matheus Richard
f1adf14527
Handle duplicated files on GlobUtils ( #151 )
...
* Handle duplicated files on GlobUtils
* Update src/ameba/glob_utils.cr
Co-Authored-By: George Dietrich <yomoejoe@gmail.com>
Co-authored-by: George Dietrich <yomoejoe@gmail.com>
2020-04-19 11:52:15 +03:00
Vitalii Elenhaupt
b215b34060
Disable new rules before the coming bugfix release
2020-04-13 10:11:15 +03:00
Vitalii Elenhaupt
e9bd6057c7
Bump 0.12.1
2020-04-13 10:00:26 +03:00
Vitalii Elenhaupt
478da94c20
Allow constants to be in PascalCase (i.e. Log, SuperConstant)
...
closes #148
2020-04-13 09:38:05 +03:00
Sijawusz Pur Rahnama
1a25583036
Make InlineComments::COMMENT_DIRECTIVE_REGEX more strict ( #146 )
2020-04-11 09:55:41 +03:00
Vitalii Elenhaupt
458c492730
Do not report shadowing outer local var is var is declared below the
...
shadowed var
closes #144
2020-04-10 10:44:42 +03:00
Vitalii Elenhaupt
99c65b5a28
New rule: Lint/BadDirective ( #143 )
...
* New rule: Lint/BadDirective
* Address PR feedback
2020-04-06 15:10:34 +03:00
Vitalii Elenhaupt
2ea5190574
Update license years
2020-03-29 20:38:57 +03:00
Vitalii Elenhaupt
53dd6d9a9b
Revert skip_cleanup
2020-03-29 20:35:18 +03:00
Vitalii Elenhaupt
c9dfb99c84
Add cleanup: false
2020-03-29 20:32:08 +03:00
Vitalii Elenhaupt
97185ca009
Merge pull request #141 from crystal-ameba/feat/is-a-nil
...
New rule: Style/IsANil
2020-03-29 19:49:23 +03:00
Vitalii Elenhaupt
25ac2a8eb3
Remove deprecated skip_cleanup: true
from travis config
...
https://blog.travis-ci.com/2019-08-27-deployment-tooling-dpl-v2-preview-release
2020-03-29 19:48:30 +03:00
Vitalii Elenhaupt
db6b54e63c
New rule: Style/IsANil
2020-03-29 19:45:13 +03:00
Vitalii Elenhaupt
02f4afaa64
Correct doc typo
2020-03-27 23:17:36 +02:00
Vitalii Elenhaupt
a54af0363a
Bump v0.12.0
2020-03-27 20:09:04 +02:00
Vitalii Elenhaupt
04497feeed
Lint/LiteralInInterpolation: properly report node position
2020-03-27 19:44:04 +02:00
Vitalii Elenhaupt
441e7fa2bb
Merge pull request #138 from bcardiff/crystal/0.34.0
...
Compatibility for Crystal 0.34
2020-03-27 17:49:19 +02:00
Brian J. Cardiff
6259e26457
Comply exhaustive case check
2020-03-27 09:25:07 -03:00
Brian J. Cardiff
24b9156f19
Avoid creating an invalid RegexLiteral
2020-03-27 09:21:13 -03:00
Vitalii Elenhaupt
9c6bc2a376
Merge pull request #137 from crystal-ameba/feat/redundant-string-coercion
...
New rule: Lint/RedundantStringCoercion
2020-03-26 23:55:23 +02:00
Vitalii Elenhaupt
59bc021e57
Do not report if Object#to_s is called without receiver
2020-03-26 23:51:54 +02:00
Vitalii Elenhaupt
ff1669ebe8
New rule: Lint/RedundantStringCoercion
2020-03-26 16:26:27 +02:00
Vitalii Elenhaupt
98bc6bb76a
Improve Lint/SharedVarInFiber rule description
2020-03-26 15:18:44 +02:00
Vitalii Elenhaupt
f27842e111
Correct doc typos
2020-03-26 10:35:27 +02:00
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