Commit graph

959 commits

Author SHA1 Message Date
Sijawusz Pur Rahnama
89f995f211
Merge pull request #338 from crystal-ameba/Sija/build-and-push-docker-images-to-ghcr
Build and push Docker images to GHCR
2023-01-02 19:38:04 +01:00
Sijawusz Pur Rahnama
e9226c05d5 Cleanup Makefile 2023-01-02 19:08:31 +01:00
Sijawusz Pur Rahnama
01ab89b348 Tweak CI settings 2023-01-02 19:08:27 +01:00
Sijawusz Pur Rahnama
1a60cc3c18 Update README.md in re: to the GHCR 2023-01-02 18:25:50 +01:00
Sijawusz Pur Rahnama
34620a986d Add GitHub Actions workflow to build and push Docker images to GHCR 2023-01-02 18:25:50 +01:00
Sijawusz Pur Rahnama
d5fbb07c3a
Merge pull request #337 from crystal-ameba/Sija/tweak-reported-locations
Tweak reported rule locations
2022-12-24 02:10:58 +01:00
Sijawusz Pur Rahnama
caaf803ecd Tweak reported location for Style/UnlessElse 2022-12-23 14:46:45 +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
f1b270dfbf
Merge pull request #335 from crystal-ameba/Sija/fix-ci-docs 2022-12-22 14:04:36 +01:00
Sijawusz Pur Rahnama
ea4439d6e2 Fix regression in docs CI 2022-12-22 13:45:27 +01:00
Sijawusz Pur Rahnama
c02f7fdc33
Merge pull request #332 from crystal-ameba/Sija/update-ci-definitions 2022-12-22 13:38:37 +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
5ff8d2593a Add Dependabot config 2022-12-21 16:29:13 +01:00
Sijawusz Pur Rahnama
e76de37b7d Update GitHub Actions 2022-12-21 16:08:16 +01:00
Sijawusz Pur Rahnama
2cfbe97b6d
Merge pull request #328 from crystal-ameba/Sija/remove-openssl-from-docker-image 2022-12-20 17:49:17 +01:00
Sijawusz Pur Rahnama
6aa36f3d9e Remove OpenSSL from Docker image 2022-12-20 17:09:28 +01:00
Sijawusz Pur Rahnama
206b5ab604 Refactor: Source#correct -> Source#correct? 2022-12-20 17:04:34 +01:00
Sijawusz Pur Rahnama
1af70749b8 Bump to v1.4.0 2022-12-20 17:03:08 +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
b78e2aebc5
Merge pull request #321 from crystal-ameba/Sija/lint-missing-block-argument-rule 2022-12-20 16:20:06 +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
Sijawusz Pur Rahnama
4e3caf2986 Few tweaks and readability refactors 2022-12-20 03:26:13 +01:00
Sijawusz Pur Rahnama
ab059616b5 Switch from Hash to NamedTuple for AmbiguousAssignment::MISTAKES 2022-12-20 03:25:14 +01:00
Sijawusz Pur Rahnama
70078cf77f Synchronize properties context names in rules’ specs 2022-12-20 03:25:10 +01:00
Sijawusz Pur Rahnama
8112dddc8f Specs cleanup 2022-12-20 03:25:06 +01:00
fn ⌃ ⌥
d7795c0d7d Add autocorrect for Style/UnlessElse 2022-12-19 06:40:28 -08:00
Sijawusz Pur Rahnama
e6ebca7a5b
Merge pull request #320 from crystal-ameba/Sija/unused-block-argument
Add `Lint/UnusedBlockArgument` rule
2022-12-15 19:33:29 +01:00
Sijawusz Pur Rahnama
bb0c0eeec6 Consider previous_def implicitly accessing variables, in the same way as super does 2022-12-15 18:35:16 +01:00
Sijawusz Pur Rahnama
b6f3d41211 Small refactor 2022-12-15 18:35:16 +01:00
Sijawusz Pur Rahnama
7f6bd2289e Do not report unused block arguments in Lint/UnusedArgument rule 2022-12-15 18:35:16 +01:00
Sijawusz Pur Rahnama
858557bc07 Add Lint/UnusedBlockArgument rule 2022-12-15 18:35:16 +01:00
Sijawusz Pur Rahnama
6ffb635dcc Add Scope#yields? 2022-12-15 18:35:16 +01:00
Sijawusz Pur Rahnama
4b1378aa33
Merge pull request #319 from crystal-ameba/Sija/fix-unused-argument-with-anonymous-block-arg 2022-12-12 19:53:18 +01:00
Sijawusz Pur Rahnama
9df66e890b Do not report anonymous block arguments in Lint/UnusedArgument 2022-12-12 18:21:19 +01:00
Sijawusz Pur Rahnama
4533e52aa5
Merge pull request #317 from crystal-ameba/Sija/further-refinements 2022-12-11 13:25:07 +01:00
Sijawusz Pur Rahnama
4d9cd4d56c Fix typo 2022-12-10 00:24:04 +01:00