Commit graph

937 commits

Author SHA1 Message Date
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
de5c6ad4c6
Merge pull request #350 from crystal-ameba/dependabot/github_actions/docker/build-push-action-4 2023-01-30 22:40:28 +01:00
dependabot[bot]
00e39f6c41
Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 21:36:27 +00:00
Sijawusz Pur Rahnama
bd68e8c3b3
Merge pull request #349 from crystal-ameba/Sija-patch-2
Remove SWUbanner
2023-01-28 12:18:48 +01:00
Sijawusz Pur Rahnama
8fbaf302ca
Remove SWUbanner 2023-01-28 12:14:19 +01:00
Sijawusz Pur Rahnama
2c044f8179
Merge pull request #348 from crystal-ameba/Sija-patch-2
Remove Travis CI references from `README.md`
2023-01-28 11:37:58 +01:00
Sijawusz Pur Rahnama
0efaed9091
Remove Travis CI references in README.md 2023-01-28 11:05:18 +01:00
Vitalii Elenhaupt
7be5af216e
Merge pull request #346 from crystal-ameba/remove-gitter
Remove gitter badge
2023-01-28 11:49:24 +02:00
Vitalii Elenhaupt
ff79cefaa8
Remove gitter badge 2023-01-28 09:35:55 +02:00
Vitalii Elenhaupt
7d0fcd4b87
Merge pull request #333 from crystal-ameba/Sija/release-1.4.0
Release 1.4.0
2023-01-28 09:32:50 +02:00
Vitalii Elenhaupt
a88299fa5c
Bump crystal 1.7 2023-01-23 19:35:03 +02:00
Vitalii Elenhaupt
74407cc8f5
Merge branch 'master' into Sija/release-1.4.0 2023-01-22 18:05:21 +02:00
Sijawusz Pur Rahnama
ce4dd7236a Make Lint/NotNilAfterNoBang report calls to #rindex 2023-01-10 13:37:28 +01:00
Sijawusz Pur Rahnama
e58f90009f
Merge pull request #334 from crystal-ameba/Sija/crystal-1.7.0-fixes
Fix specs on Crystal nightly (soon to be v1.7.0)
2023-01-10 13:23:18 +01:00
Sijawusz Pur Rahnama
3b79392ef2 Simplify implementation of Lint/EmptyExpression rule 2023-01-10 13:10:05 +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
a091af14a8
Merge pull request #341 from crystal-ameba/Sija/remove-autocorrections-from-any-instead-of-empty 2023-01-04 11:19:51 +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
f7cb5bb563
Merge pull request #340 from crystal-ameba/Sija/fix-ci-docs-deploy 2023-01-03 19:23:34 +01:00
Sijawusz Pur Rahnama
1514fc53ca There’s no need to strip the HTML from .md docs anymoar 2023-01-03 17:04:37 +01:00
Sijawusz Pur Rahnama
853f84d954 Fix docs CI workflow 2023-01-03 16:36:33 +01:00
Sijawusz Pur Rahnama
c5748aec71
Merge pull request #339 from crystal-ameba/Sija/tweak-ci 2023-01-03 12:54:36 +01:00
Sijawusz Pur Rahnama
1ebc1a68c6 Refactor CI workflow to clearly show failed steps 2023-01-02 19:39:43 +01:00
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