Sijawusz Pur Rahnama
|
327ed546b9
|
Apply suggestions from code review
Co-authored-by: Vitalii Elenhaupt <3624712+veelenga@users.noreply.github.com>
|
2023-07-10 16:09:01 +02:00 |
|
Sijawusz Pur Rahnama
|
ddff8d226b
|
Add Performance/MinMaxAfterMap rule
|
2023-07-10 15:46:17 +02:00 |
|
Sijawusz Pur Rahnama
|
29e29b8e1d
|
Fix Performance/ExcessiveAllocations to exclude each calls without a block
|
2023-06-30 21:44:47 +02:00 |
|
Sijawusz Pur Rahnama
|
abe5237802
|
Add Performance/ExcessiveAllocations rule
|
2023-06-30 15:17:40 +02:00 |
|
Sijawusz Pur Rahnama
|
4d0125a0f3
|
Fix Style/VerboseBlock rule to work with binary operations
|
2023-06-29 08:15:39 +02:00 |
|
Sijawusz Pur Rahnama
|
596b0dd9d0
|
Misc tweaks and refactors
|
2023-06-14 15:06:24 +02:00 |
|
Sijawusz Pur Rahnama
|
e12d72cc88
|
Set the ASTNode#visibility as well
|
2023-06-08 04:28:17 +02:00 |
|
Sijawusz Pur Rahnama
|
4d8346509e
|
Implement Documentation rule on top of the ScopeVisitor
|
2023-06-08 02:04:06 +02:00 |
|
Sijawusz Pur Rahnama
|
4c740f394a
|
Implement Scope#visibility
|
2023-06-08 01:58:58 +02:00 |
|
Sijawusz Pur Rahnama
|
1a9a58b3cd
|
Add Lint/Documentation rule
|
2023-05-29 16:32:51 +02:00 |
|
Sijawusz Pur Rahnama
|
14f6ba0c0b
|
Merge pull request #323 from crystal-ameba/Sija/lint-not-nil-after-no-bang-reports-rindex-calls
Make `Lint/NotNilAfterNoBang` report calls to `#rindex`
|
2023-05-01 11:16:42 +02:00 |
|
Johannes Müller
|
c7f2cba409
|
Fix severity type for YAML converter spec
|
2023-04-05 11:20:44 +02:00 |
|
Billy.Zheng
|
e2528d93dd
|
Refactor spec to use be_false replace eq false
|
2023-03-09 12:39:25 +08:00 |
|
Billy.Zheng
|
48c7a2bde6
|
Add spec for verifying skip_reading_config? flag defaults to false.
|
2023-03-09 02:23:48 +08:00 |
|
Billy.Zheng
|
d45285d1c9
|
Skip all config when use with --gen-config.
|
2023-03-08 22:34:46 +08:00 |
|
Sijawusz Pur Rahnama
|
749da0984c
|
Rename Config::PATH to Config::DEFAULT_PATH
|
2023-03-06 20:54:35 +01:00 |
|
Sijawusz Pur Rahnama
|
9534104942
|
Support hierarchical loading of the config file
|
2023-03-06 20:54:17 +01:00 |
|
Vitalii Elenhaupt
|
81177dc7e4
|
Merge pull request #356 from crystal-ameba/chore/crystal-nightly
chore: fix crystal-nightly compatibility
|
2023-02-19 18:06:31 +02:00 |
|
Vitalii Elenhaupt
|
d03f058cae
|
Add semicolon to the error message
|
2023-02-19 17:39:25 +02:00 |
|
Vitalii Elenhaupt
|
be8862837f
|
Improve error message reported to end user
|
2023-02-19 14:45:07 +02:00 |
|
Vitalii Elenhaupt
|
17e9566c7e
|
fix(lint): Lint/UnusedBlockArgument is triggered by abstract def
closes #352
|
2023-02-19 10:51:52 +02:00 |
|
Vitalii Elenhaupt
|
031c1daf58
|
chore: fix crystal-nightly compatibility
|
2023-02-19 09:30:05 +02:00 |
|
Vitalii Elenhaupt
|
e7f4bb6ae3
|
Fix wording
|
2023-02-07 22:24:52 +02:00 |
|
Vitalii Elenhaupt
|
61a45d4321
|
Rework tests
|
2023-02-07 22:21:09 +02:00 |
|
Vitalii Elenhaupt
|
d20cc212b9
|
Styling changes
|
2023-02-07 20:03:52 +02:00 |
|
Vitalii Elenhaupt
|
6b2ddcb1d9
|
Address feedback, add tests
|
2023-02-07 17:19:04 +02:00 |
|
Vitalii Elenhaupt
|
14a9ec3a75
|
Incorporate changes for shadowing outer local var
|
2023-02-04 20:53:41 +02:00 |
|
Vitalii Elenhaupt
|
ddbcf5cb3f
|
fix(lint): useless assignment for type definition
closes #342
|
2023-02-04 16:57:46 +02:00 |
|
Sijawusz Pur Rahnama
|
ce4dd7236a
|
Make Lint/NotNilAfterNoBang report calls to #rindex
|
2023-01-10 13:37:28 +01:00 |
|
Sijawusz Pur Rahnama
|
8e86374d08
|
Remove outdated spec
|
2023-01-10 13:10:05 +01:00 |
|
Sijawusz Pur Rahnama
|
d31e41b8a7
|
Fix specs on Crystal nightly (soon to be v1.7.0)
|
2023-01-10 13:10:05 +01:00 |
|
Sijawusz Pur Rahnama
|
6f0b6ffcd0
|
Remove buggy auto-correction from Performance/AnyInsteadOfEmpty rule
|
2023-01-04 02:40:07 +01:00 |
|
Sijawusz Pur Rahnama
|
bbbfdfc5a2
|
Tweak reported location for Lint/UnusedBlockArgument
|
2022-12-23 14:46:23 +01:00 |
|
Sijawusz Pur Rahnama
|
2d9e328d97
|
Merge pull request #325 from FnControlOption/unless_else
Add autocorrect for `Style/UnlessElse`
|
2022-12-22 21:43:49 +01:00 |
|
Sijawusz Pur Rahnama
|
2cedd72b09
|
Apply review sugggestions
|
2022-12-22 19:18:27 +01:00 |
|
Sijawusz Pur Rahnama
|
4f8b79ec6b
|
Merge pull request #324 from crystal-ameba/Sija/extend-several-rule-with-corrections
Extend `Lint/UnusedArgument` and `Lint/UnusedBlockArgument` rules with corrections
|
2022-12-22 18:42:35 +01:00 |
|
Sijawusz Pur Rahnama
|
3586b4242f
|
Extend Lint/UnusedBlockArgument rule with corrections
|
2022-12-22 17:15:46 +01:00 |
|
Sijawusz Pur Rahnama
|
f26cd7f823
|
Extend Lint/UnusedArgument rule with corrections
|
2022-12-22 17:15:46 +01:00 |
|
Sijawusz Pur Rahnama
|
b9bc5aaab2
|
Merge pull request #327 from crystal-ameba/Sija/specs-cleanup
|
2022-12-22 12:08:44 +01:00 |
|
Sijawusz Pur Rahnama
|
232c16d743
|
Add spec for 10000 Int128 literal in Style/LargeNumbers
|
2022-12-21 21:15:17 +01:00 |
|
Sijawusz Pur Rahnama
|
cfea0fda34
|
Fix typo
|
2022-12-21 21:14:29 +01:00 |
|
Sijawusz Pur Rahnama
|
9926f0295a
|
Remove most of the obsolete specs
|
2022-12-21 21:13:22 +01:00 |
|
Sijawusz Pur Rahnama
|
1ba6fcb55c
|
Enhance spec helpers a bit in re: to the spec context
|
2022-12-21 17:34:17 +01:00 |
|
Sijawusz Pur Rahnama
|
e9f3bbaeff
|
Fail with the additional context
|
2022-12-21 17:34:10 +01:00 |
|
Sijawusz Pur Rahnama
|
7c617b5a7b
|
Make spec helper methods private
|
2022-12-21 17:34:05 +01:00 |
|
Sijawusz Pur Rahnama
|
cabf203e0d
|
Merge pull request #326 from crystal-ameba/Sija/lint-formatting
|
2022-12-20 16:20:48 +01:00 |
|
Sijawusz Pur Rahnama
|
47b92fbb76
|
Fix newly found issues
|
2022-12-20 15:31:14 +01:00 |
|
Sijawusz Pur Rahnama
|
597372c645
|
Add Lint/MissingBlockArgument rule
|
2022-12-20 15:31:14 +01:00 |
|
Sijawusz Pur Rahnama
|
d7154ad6d2
|
Fix failing spec
|
2022-12-20 04:10:56 +01:00 |
|
Sijawusz Pur Rahnama
|
3bc8bda008
|
Add Lint/Formatting rule
|
2022-12-20 04:10:56 +01:00 |
|