Sijawusz Pur Rahnama
|
61ccb030bd
|
Fix newly found offenses
|
2023-11-11 19:08:14 +01:00 |
Sijawusz Pur Rahnama
|
971bff6c27
|
Add `Naming/BlockParameterName` rule
|
2023-11-11 19:07:46 +01:00 |
Sijawusz Pur Rahnama
|
a40f02f77f
|
Merge pull request #420 from crystal-ameba/add-spec-filename-rule
Add `Lint/SpecFilename` rule
|
2023-11-11 08:26:33 +01:00 |
Sijawusz Pur Rahnama
|
28014ada67
|
Add `Lint/SpecFilename` rule
|
2023-11-10 15:41:54 +01:00 |
Sijawusz Pur Rahnama
|
1d76a7c71a
|
Add `Naming/RescuedExceptionsVariableName` rule
|
2023-11-10 13:26:31 +01:00 |
Sijawusz Pur Rahnama
|
0abb73f0b6
|
Merge pull request #414 from crystal-ameba/add-ascii-identifiers-rule
Add `Naming/AsciiIdentifiers` rule
|
2023-11-10 01:59:04 +01:00 |
Sijawusz Pur Rahnama
|
fd44eeba08
|
Add `Naming/AsciiIdentifiers` rule
|
2023-11-10 01:55:19 +01:00 |
Sijawusz Pur Rahnama
|
cc23e7a7e7
|
Merge pull request #415 from crystal-ameba/add-accessor-method-name-rule
Add `Naming/AccessorMethodName` rule
|
2023-11-09 10:34:37 +01:00 |
Sijawusz Pur Rahnama
|
964d011d53
|
Add `Naming/AccessorMethodName` rule
|
2023-11-09 10:30:59 +01:00 |
Sijawusz Pur Rahnama
|
3f1e925e07
|
Merge pull request #417 from crystal-ameba/fix-issue-400
Fix false positive with dynamic literals in `Lint/LiteralsComparison`
|
2023-11-09 09:09:54 +01:00 |
Sijawusz Pur Rahnama
|
e84cc05f0f
|
Fix false positive with dynamic literals in `Lint/LiteralsComparison`
|
2023-11-09 08:20:35 +01:00 |
Sijawusz Pur Rahnama
|
b9ce705a47
|
Add `Naming/Filename` rule
|
2023-11-09 07:07:45 +01:00 |
Sijawusz Pur Rahnama
|
881209d54e
|
Merge pull request #412 from crystal-ameba/group-documentation-rules
Move documentation-related rules into its own group
|
2023-11-09 06:19:36 +01:00 |
Sijawusz Pur Rahnama
|
b25dc402c8
|
Group naming-related rules
|
2023-11-09 00:16:29 +01:00 |
Sijawusz Pur Rahnama
|
8569355b5a
|
Move documentation-related rules into its own group
|
2023-11-08 18:35:32 +01:00 |
Sijawusz Pur Rahnama
|
0140fd3573
|
Add `Lint/Typos` rule
|
2023-11-08 02:24:35 +01:00 |
Sijawusz Pur Rahnama
|
d5ac394d19
|
Switch only `FIXME` comment to `TODO`
|
2023-11-06 16:59:09 +01:00 |
Sijawusz Pur Rahnama
|
bdbb79f1fa
|
Fix nonexistent method name used in error message
|
2023-11-06 16:59:09 +01:00 |
Sijawusz Pur Rahnama
|
1b342e8257
|
Make `TODOFormatter`'s configuration file path configurable
Fixes the case where formatter specs were deleting project's `.ameba.yml` file
|
2023-11-06 16:59:09 +01:00 |
Sijawusz Pur Rahnama
|
23c61e04c0
|
Add `Lint/DocumentationAdmonition` rule
|
2023-11-06 16:59:09 +01:00 |
Sijawusz Pur Rahnama
|
1b57e2cad5
|
Make `Formatter::Util` extend itself for easier access
|
2023-11-05 06:08:40 +01:00 |
Sijawusz Pur Rahnama
|
3d3626accc
|
Introduced new presenter abstraction
|
2023-11-04 01:44:59 +01:00 |
Sijawusz Pur Rahnama
|
bede3f97a1
|
Colorize code in rule descriptions too
|
2023-11-04 00:49:11 +01:00 |
Sijawusz Pur Rahnama
|
8ff621ba66
|
Add `--describe` CLI switch
|
2023-11-04 00:49:11 +01:00 |
Sijawusz Pur Rahnama
|
f1f21ac94d
|
Refactor `--rules` CLI switch output
|
2023-11-04 00:49:11 +01:00 |
Sijawusz Pur Rahnama
|
1718945523
|
Refactor `ExplainFormatter` a bit
|
2023-11-04 00:49:11 +01:00 |
Vitalii Elenhaupt
|
789e1b77e8
|
fix: crystal next compatibility
refs https://github.com/crystal-lang/crystal/pull/11597
fixes https://github.com/crystal-ameba/ameba/issues/406
|
2023-10-06 18:57:39 +03:00 |
Stuart Frost
|
1b85ba6f22
|
Refactor: use unless instead of if not
|
2023-08-05 19:28:47 +01:00 |
Stuart Frost
|
eb60b25c4e
|
Refactor building default globs
|
2023-08-05 16:15:50 +01:00 |
Stuart Frost
|
7690074cab
|
Conditionally add !lib to default globs
|
2023-08-04 21:48:35 +01:00 |
Stuart Frost
|
07aebfc84a
|
Merge branch 'master' into 388-raise-on-invalid-file-path
|
2023-07-26 15:22:04 +01:00 |
Stuart Frost
|
3b9c442e09
|
Raise error when passed invalid file paths
|
2023-07-26 15:01:59 +01:00 |
Stuart Frost
|
4741c9f4c4
|
Reword generic error message on config load
|
2023-07-25 08:46:13 +01:00 |
Stuart Frost
|
d9b2d69055
|
Reword error when file doesn't exist
Applied suggestion from PR
Co-authored-by: Vitalii Elenhaupt <3624712+veelenga@users.noreply.github.com>
|
2023-07-25 08:43:49 +01:00 |
Stuart Frost
|
5f878fb40f
|
Move missing config file check into Ameba::Config
|
2023-07-24 19:10:52 +01:00 |
Stuart Frost
|
01a943d0d6
|
Raise error when passed invalid config file path
|
2023-07-24 15:30:38 +01:00 |
Sijawusz Pur Rahnama
|
ddff8d226b
|
Add `Performance/MinMaxAfterMap` rule
|
2023-07-10 15:46:17 +02:00 |
Sijawusz Pur Rahnama
|
5cff76071a
|
No need for such micro-optimizations, LLVM takes care of those
|
2023-07-02 14:34:25 +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
|
16141a376e
|
Cleanup properties definition macro
|
2023-06-14 15:08:19 +02:00 |
Sijawusz Pur Rahnama
|
596b0dd9d0
|
Misc tweaks and refactors
|
2023-06-14 15:06:24 +02:00 |
Sijawusz Pur Rahnama
|
1931a5f4ef
|
Make `skip` a named argument
|
2023-06-12 23:17:14 +02:00 |
Sijawusz Pur Rahnama
|
c09b36799a
|
Make `AST::NodeVisitor::Category` a flag enum
|
2023-06-12 23:17:14 +02:00 |
Sijawusz Pur Rahnama
|
38b6751bc0
|
Add `AST::NodeVisitor::Category` simplifying code a bit
|
2023-06-12 23:17:14 +02:00 |
Sijawusz Pur Rahnama
|
b156a6a6a1
|
Add comments to macros
|
2023-06-08 14:03:35 +02:00 |
Sijawusz Pur Rahnama
|
94e31d4685
|
Do the same in `NodeVisitor`
|
2023-06-08 04:28:37 +02:00 |
Sijawusz Pur Rahnama
|
e12d72cc88
|
Set the `ASTNode#visibility` as well
|
2023-06-08 04:28:17 +02:00 |
Sijawusz Pur Rahnama
|
7caa47fb6a
|
Several small refactors
|
2023-06-08 02:04:30 +02:00 |