Sijawusz Pur Rahnama
|
63be60ce96
|
Merge pull request #452 from crystal-ameba/reopen-issue-447
|
2024-01-22 19:30:21 +01:00 |
|
Sijawusz Pur Rahnama
|
17084f4a1d
|
Remove naive solution for #447
|
2024-01-22 17:15:52 +01:00 |
|
Sijawusz Pur Rahnama
|
590640b559
|
Merge pull request #451 from crystal-ameba/tweak-useless-assign
Refactor `Lint/UselessAssign` rule a bit
|
2024-01-20 16:15:56 +01:00 |
|
Sijawusz Pur Rahnama
|
3bea264948
|
Refactor Lint/UselessAssign rule a bit
|
2024-01-19 20:11:56 +01:00 |
|
Sijawusz Pur Rahnama
|
7f50ff90fd
|
Merge pull request #450 from crystal-ameba/fix-issue-447
Exclude reporting type declarations passed as call arguments
|
2024-01-18 07:52:48 +01:00 |
|
Sijawusz Pur Rahnama
|
a79e711fae
|
Exclude reporting type declarations passed as call arguments
|
2024-01-18 00:34:28 +01:00 |
|
Sijawusz Pur Rahnama
|
28fafea19f
|
Merge pull request #449 from crystal-ameba/fix-issue-446
Do not report type declarations within generic records
|
2024-01-16 09:20:20 +01:00 |
|
Sijawusz Pur Rahnama
|
f2677d68f6
|
Do not report type declarations within generic records
|
2024-01-16 02:04:41 +01:00 |
|
Vitalii Elenhaupt
|
b56d34715d
|
Merge pull request #445 from straight-shoota/infra/makefile
Enhance `Makefile`
|
2024-01-15 19:07:14 +02:00 |
|
Johannes Müller
|
1398c0ee8f
|
Enhance Makefile
* `install` recipe does not rebuild binary
* Add `help` target and documentation
* Add several config variables
* Add sources as dependencies for (in-)validation
Based on template
https://gist.github.com/straight-shoota/275685fcb8187062208c0871318c4a23
|
2024-01-14 13:29:29 +01:00 |
|
Sijawusz Pur Rahnama
|
734bb2a7f1
|
Merge pull request #443 from crystal-ameba/fix-issue-442
Do not report type declarations within `lib` definitions
|
2024-01-10 09:12:37 +01:00 |
|
Sijawusz Pur Rahnama
|
98d5bc720a
|
Skip lib definitions altogether
|
2024-01-10 01:14:03 +01:00 |
|
Sijawusz Pur Rahnama
|
d23ad7f0ab
|
Make Scope#*_def? methods accept check_outer_scopes parameter
|
2024-01-10 01:10:36 +01:00 |
|
Sijawusz Pur Rahnama
|
b6bd74e02f
|
Merge pull request #434 from crystal-ameba/misc-refactors
v1.6.1
|
2024-01-09 21:12:19 +01:00 |
|
Sijawusz Pur Rahnama
|
ce3f2b7e4b
|
Add QoL Variable#reference(scope) method
|
2024-01-01 14:49:27 +01:00 |
|
Sijawusz Pur Rahnama
|
444b07c179
|
Bump version to 1.6.1
|
2024-01-01 14:46:32 +01:00 |
|
Sijawusz Pur Rahnama
|
e99a69765f
|
Few refactors
|
2024-01-01 14:46:32 +01:00 |
|
Sijawusz Pur Rahnama
|
6d0b12c70f
|
Cleanup docs
|
2024-01-01 14:46:32 +01:00 |
|
Sijawusz Pur Rahnama
|
65ab317a3b
|
Merge delegate calls
|
2024-01-01 14:46:32 +01:00 |
|
Sijawusz Pur Rahnama
|
452a7a867e
|
Merge pull request #430 from crystal-ameba/fix-issue-429
Report unused type declarations in `Lint/UselessAssign` rule
|
2024-01-01 12:22:01 +01:00 |
|
Sijawusz Pur Rahnama
|
5a24f1eba5
|
Add UselessAssign#exclude_type_declarations
|
2023-12-29 01:50:19 +01:00 |
|
Sijawusz Pur Rahnama
|
aeffa6ad00
|
Add test spec covering accessor macros
|
2023-12-28 15:46:32 +01:00 |
|
Sijawusz Pur Rahnama
|
4567293add
|
Drop type_definition? check from Scope#top_level?
|
2023-12-28 15:43:29 +01:00 |
|
Sijawusz Pur Rahnama
|
a49faa33a9
|
Refactor Lint/UselessAssign spec
|
2023-12-28 15:43:29 +01:00 |
|
Sijawusz Pur Rahnama
|
1dd531740c
|
Fix reported ameba issue
|
2023-12-28 15:43:29 +01:00 |
|
Sijawusz Pur Rahnama
|
1b661d633d
|
Refactor ScopeVisitor to ignore accessor macros
|
2023-12-28 15:43:29 +01:00 |
|
Sijawusz Pur Rahnama
|
9745637cf9
|
Update UselessAssign rule to report unreferenced type declarations
|
2023-12-28 15:43:29 +01:00 |
|
Sijawusz Pur Rahnama
|
4ad151e5e0
|
Do not automatically consider type definitions as referenced
|
2023-12-28 15:43:29 +01:00 |
|
Sijawusz Pur Rahnama
|
c9bc01f88c
|
Merge pull request #439 from crystal-ameba/fix-issue-353
Make `Lint/SharedVarInFiber` rule account for `loop { ... }`
|
2023-12-28 15:31:43 +01:00 |
|
Sijawusz Pur Rahnama
|
1feb5c279b
|
Add test spec covering the loop { … } block to Lint/SharedVarInFiber rule specs
|
2023-12-28 15:31:11 +01:00 |
|
Sijawusz Pur Rahnama
|
57898fd797
|
Make BranchVisitor treat loop { … } calls as branchable
|
2023-12-28 15:31:11 +01:00 |
|
Sijawusz Pur Rahnama
|
46a42ee9e8
|
Merge pull request #438 from crystal-ameba/add-error-as-allowed-variable-name
Add `error` to the `RescuedExceptionsVariableName#allowed_names`
|
2023-12-28 14:32:45 +01:00 |
|
Sijawusz Pur Rahnama
|
61afa5bb2b
|
Add error to the RescuedExceptionsVariableName#allowed_names
|
2023-12-28 13:07:14 +01:00 |
|
Sijawusz Pur Rahnama
|
9bb6c9ac75
|
Merge pull request #436 from crystal-ameba/cleanup-properties-macro
Make `RuleConfig#properties` accept only `Call` nodes
|
2023-12-28 09:24:09 +01:00 |
|
Sijawusz Pur Rahnama
|
954345d316
|
Merge pull request #435 from crystal-ameba/revert-pr-394
Revert "Merge pull request #394 from stufro/388-raise-on-invalid-file…
|
2023-12-28 09:20:27 +01:00 |
|
Sijawusz Pur Rahnama
|
55f3ec53b7
|
Make RuleConfig#properties accept only Call nodes
Add optional named argument `as`, in order to specify the property type
|
2023-12-28 04:48:18 +01:00 |
|
Sijawusz Pur Rahnama
|
26d9bc0bd0
|
Revert "Merge pull request #394 from stufro/388-raise-on-invalid-file-path"
This reverts commit 18d193bd08 , reversing
changes made to 7b8316f061 .
|
2023-12-28 02:03:44 +01:00 |
|
Sijawusz Pur Rahnama
|
47088b10ca
|
Add some more excluded operators to BinaryOperatorParameterName rule
|
2023-11-24 21:13:04 +01:00 |
|
Sijawusz Pur Rahnama
|
9f9d5fae32
|
Merge pull request #428 from crystal-ameba/revert-incorrect-excessive-allocations-condition
Revert "Fix `Performance/ExcessiveAllocations` to exclude `each` call…
|
2023-11-18 09:50:45 +01:00 |
|
Sijawusz Pur Rahnama
|
5e70ae4f8c
|
Merge pull request #427 from crystal-ameba/fix-gha-ci-badge-in-readme
Fix GitHub Actions CI badge in `README.md`
|
2023-11-18 06:34:34 +01:00 |
|
Sijawusz Pur Rahnama
|
82e0e53080
|
Revert "Fix Performance/ExcessiveAllocations to exclude each calls without a block"
This reverts commit 29e29b8e1d .
|
2023-11-17 19:48:41 +01:00 |
|
Sijawusz Pur Rahnama
|
1b8523def6
|
Fix GitHub Actions CI badge in README.md
|
2023-11-17 19:23:06 +01:00 |
|
Sijawusz Pur Rahnama
|
a88033c8ce
|
Merge pull request #426 from crystal-ameba/fix-issue-409
Do not report expanded arguments in `ShadowingOuterLocalVar` rule
|
2023-11-17 19:00:34 +01:00 |
|
Sijawusz Pur Rahnama
|
30e3816ed1
|
Do not report expanded arguments in ShadowingOuterLocalVar rule
|
2023-11-17 18:36:19 +01:00 |
|
Sijawusz Pur Rahnama
|
5aac63ea74
|
Merge pull request #425 from crystal-ameba/prepare-release-1.6.0
Prepare release 1.6.0
|
2023-11-17 18:14:20 +01:00 |
|
Sijawusz Pur Rahnama
|
10b577d23a
|
Use square brackets for %w and %i array literals
|
2023-11-17 17:34:39 +01:00 |
|
Sijawusz Pur Rahnama
|
06dc201344
|
Bump supported crystal version to 1.10
|
2023-11-17 16:22:31 +01:00 |
|
Sijawusz Pur Rahnama
|
d079f4bae6
|
Bump version to 1.6.0
|
2023-11-14 12:34:44 +01:00 |
|
Sijawusz Pur Rahnama
|
0461fff702
|
Relax crystal version in shard.yml
|
2023-11-14 12:34:44 +01:00 |
|
Sijawusz Pur Rahnama
|
22e2d1de00
|
Cleanup my involvement status
|
2023-11-14 12:34:44 +01:00 |
|