Commit graph

741 commits

Author SHA1 Message Date
Sijawusz Pur Rahnama
4063290530
Fix typo in a Style/VerboseBlock configuration example 2022-10-28 23:48:47 +02:00
Vitalii Elenhaupt
cac1ce4138
Bump crystal version 2022-10-15 09:33:37 +03:00
Vitalii Elenhaupt
de97e8c23e
Bump v1.2.0 2022-10-14 21:12:51 +03:00
Vitalii Elenhaupt
60bf8e13ce
fix(style): properly tokenize in RedundantBegin rule 2022-10-14 21:09:30 +03:00
Vitalii Elenhaupt
80532da357
Merge pull request #277 from crystal-ameba/crystal-1.6
Crystal 1.6 support
2022-10-14 21:09:02 +03:00
Vitalii Elenhaupt
d2fbf484f4
Crystal 1.6 support 2022-10-14 20:55:29 +03:00
Vitalii Elenhaupt
97acedaec8
Remove funding 2022-08-25 10:23:02 +03:00
Sijawusz Pur Rahnama
a8fa39f34c
Merge pull request #273 from crystal-ameba/bump-1.1 2022-08-25 09:01:31 +02:00
Vitalii Elenhaupt
b46a8807d9
Add support of crystal 1.5 2022-08-25 09:29:15 +03:00
Vitalii Elenhaupt
a8c00dbc15
Bump v1.0.1 2022-08-02 09:56:22 +03:00
Anton Maminov
1bef5fc5c1
fix restriction issue (#271)
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
2022-08-01 23:50:30 +02:00
Vitalii Elenhaupt
8a12229116
Merge pull request #269 from carlhoerberg/build-with-mt
Build ameba with MT by default
2022-05-04 11:23:51 +03:00
Carl Hörberg
ff97ec33f6 Build ameba with MT by default
The speed up is considerable.
2022-05-03 20:35:24 +02:00
Sijawusz Pur Rahnama
f0bf89f85f
Merge pull request #268 from crystal-ameba/fix-issue-267
Fix regression in `AnyInsteadOfEmpty` rule
2022-04-22 16:43:11 +02:00
Sijawusz Pur Rahnama
fbd72a5171 Fix regression in AnyInsteadOfEmpty rule 2022-04-22 00:58:37 +02:00
Vitalii Elenhaupt
73bd1ba5a3
Correct Ameba version in sample 2022-04-10 20:05:09 +03:00
Vitalii Elenhaupt
e9fbfe5048
Bump v1.0.0 2022-04-08 10:32:52 +03:00
Vitalii Elenhaupt
c914c9d299
Merge pull request #263 from crystal-ameba/tighten-crystal-constraint
Change `crystal` version constraint to `~> 1.4.0`
2022-04-06 10:49:14 +03:00
Sijawusz Pur Rahnama
5d4c916bd3
Change crystal version constraint to ~> 1.4.0 2022-04-05 17:42:08 +02:00
Sijawusz Pur Rahnama
734e55fbab
Merge pull request #259 from crystal-ameba/fix/crystal-nightly 2022-04-05 14:49:47 +02:00
Sijawusz Pur Rahnama
e2faffacfe
Merge branch 'master' into fix/crystal-nightly 2022-04-05 00:37:48 +02:00
Sijawusz Pur Rahnama
348406b7d2
Merge pull request #261 from crystal-ameba/convert-more-specs-to-use-assertion-helpers
Convert more specs to use assertion helpers
2022-04-05 00:24:19 +02:00
Sijawusz Pur Rahnama
20db75a54a Fix typo in UnneededDisableDirective rule spec filename 2022-04-04 22:30:23 +02:00
Sijawusz Pur Rahnama
48d0089d23 Add some whitespaces for readability 2022-04-04 22:17:41 +02:00
Sijawusz Pur Rahnama
306bc34019 Use issue expectation helpers in Performance::FirstLastAfterFilter rule spec 2022-04-04 22:17:13 +02:00
Sijawusz Pur Rahnama
119e20d5e5 Use issue expectation helpers in Performance::SizeAfterFilter rule spec 2022-04-04 22:17:02 +02:00
Sijawusz Pur Rahnama
e0867c04b0 Use issue expectation helpers in Performance::MapInsteadOfBlock rule spec 2022-04-04 22:16:48 +02:00
Sijawusz Pur Rahnama
6f30881ae6 Use issue expectation helpers in Performance::FlattenAfterMap rule spec 2022-04-04 22:16:37 +02:00
Sijawusz Pur Rahnama
931dc3d2dc Use issue expectation helpers in Performance::CompactAfterMap rule spec 2022-04-04 22:16:21 +02:00
Sijawusz Pur Rahnama
b54f0f0738 Use issue expectation helpers in Metrics::CyclomaticComplexity rule spec 2022-04-04 22:15:43 +02:00
Sijawusz Pur Rahnama
8a37d5bbe2 Use issue expectation helpers in Layout::LineLength rule spec 2022-04-04 22:15:07 +02:00
Sijawusz Pur Rahnama
390b26d7f1 Use issue expectation helpers in Lint::AmbiguousAssignment rule spec 2022-04-04 21:32:46 +02:00
Sijawusz Pur Rahnama
caeb1609c9 Use issue expectation helpers in Lint::BadDirective rule spec 2022-04-04 21:27:04 +02:00
Sijawusz Pur Rahnama
5283ae4a96 Use issue expectation helpers in Lint::EmptyLoop rule spec 2022-04-04 21:23:17 +02:00
Sijawusz Pur Rahnama
3cbb388393 Use issue expectation helpers in Lint::HashDuplicatedKey rule spec 2022-04-04 21:20:13 +02:00
Sijawusz Pur Rahnama
18316eaa8b Use issue expectation helpers in Lint::LiteralInInterpolation rule spec 2022-04-04 21:16:48 +02:00
Sijawusz Pur Rahnama
7f85434c85 Use issue expectation helpers in Lint::RandZero rule spec 2022-04-04 21:14:45 +02:00
Sijawusz Pur Rahnama
c58d4cc65a Use issue expectation helpers in Lint::Syntax rule spec 2022-04-04 21:11:04 +02:00
Sijawusz Pur Rahnama
c89d32fcf6 Use issue expectation helpers in Lint::UselessConditionInWhen rule spec 2022-04-04 21:11:04 +02:00
Sijawusz Pur Rahnama
c8daaf4324 Use issue expectation helpers in Lint::UnneededDisableDirective rule spec 2022-04-04 21:10:54 +02:00
Sijawusz Pur Rahnama
a69fba88bd
Merge pull request #260 from crystal-ameba/fix-issue-224 2022-04-04 09:46:35 +02:00
Sijawusz Pur Rahnama
e6ad7c5d24 Fix bug in AST::Scope#in_macro? not taking account for Crystal::MacroFor 2022-04-04 02:05:13 +02:00
Sijawusz Pur Rahnama
71de3f0012 Cleanup method docs in AST::Scope 2022-04-04 02:05:13 +02:00
Sijawusz Pur Rahnama
614fcfa6a8 Skip macro scopes in ShadowingOuterLocalVar 2022-04-04 01:38:04 +02:00
Sijawusz Pur Rahnama
2e9ef7fcb2 Reword visit(node) methods comment in AST::NodeVisitor 2022-04-04 01:35:59 +02:00
Sijawusz Pur Rahnama
a38cfd1661 Refactor AST::ScopeVisitor similarly to AST::NodeVisitor 2022-04-04 01:35:32 +02:00
Sijawusz Pur Rahnama
3f7ade573a Add ability to skip some of the nodes in AST::ScopeVisitor 2022-04-04 01:34:34 +02:00
Sijawusz Pur Rahnama
ad5d56b313 Use issue expectation helpers in ShadowingOuterLocalVar spec 2022-04-04 01:30:27 +02:00
Sijawusz Pur Rahnama
353d09df29 Rename file according to the rule name 2022-04-04 00:42:22 +02:00
Vitalii Elenhaupt
8d4730182f
Rework breaking specs, break backward compatibility 2022-04-04 00:59:21 +03:00