Commit graph

88 commits

Author SHA1 Message Date
Vitalii Elenhaupt
98f0aa71e9
Allow to disable group of rules using inline directives 2018-06-23 16:52:48 +03:00
V. Elenhaupt
fafc5f4bdc
Allow filtering by group name (#65) 2018-06-18 10:25:06 +03:00
V. Elenhaupt
4cb5328513
Add rule namespaces: style, lint, layout (#63) 2018-06-16 14:50:59 +03:00
Vitalii Elenhaupt
f3498c4db7
Bump v0.7.0 2018-06-15 11:54:11 +03:00
Vitalii Elenhaupt
319a90d5d7
Add version to shards.yml in usage
If the version is missed, shards utilite takes the latest
release which can break the build if the user is not ready
to upgrade
2018-05-14 16:28:46 +03:00
Vitalii Elenhaupt
2a4cc56865
Add a link to Roadmap 2018-05-13 22:00:08 +03:00
Eloy
0b54b10579 Add sublime linter plugin 2018-05-12 21:44:24 +03:00
Vitalii Elenhaupt
9708b94587
Typo in readme 2018-05-09 13:33:16 +03:00
Vitalii Elenhaupt
58e6b42ea9
Improve usage info & remove useless stuff 2018-05-09 00:28:06 +03:00
Sijawusz Pur Rahnama
956f2e4f49 Update README.md
Replace deprecated `crystal deps` command with `shards install`
2018-04-11 13:06:39 +03:00
Vitalii Elenhaupt
9f85b16e09 Add inline directives parsing and disabling 2018-01-30 16:09:00 +02:00
Vitalii Elenhaupt
2f9d31b02d
Add editor-integration section
closes #26
2018-01-24 15:23:00 +02:00
Vitalii Elenhaupt
b27d9ca740
Fix missing code sample in docs 2017-12-26 18:34:58 +02:00
Vitalii Elenhaupt
63eda4e820
Change logo path 2017-12-12 08:16:34 +02:00
Vitalii Elenhaupt
8cbdd0de4d Remove temp config, adjust Readme 2017-12-01 19:01:25 +02:00
Vitalii Elenhaupt
f4f401d56f
Make config loading more flexible 2017-11-23 10:41:22 +02:00
Vitalii Elenhaupt
52411dadc5
Fix some mistakes 2017-11-17 20:58:52 +02:00
Vitalii Elenhaupt
766bcb3dd9
Adjust readme 2017-11-17 20:55:32 +02:00
Vitalii Elenhaupt
bdf189cb7f
Fix generated doc header 2017-11-16 11:42:14 +02:00
Vitalii Elenhaupt
9983fce4ef
Remove compatibility warning 2017-11-16 10:35:20 +02:00
Vitalii Elenhaupt
6a28e21162
Install binary to shard/bin folder
Just a workaround before https://github.com/crystal-lang/shards/pull/126
becomes live.
2017-11-16 10:18:11 +02:00
Vitalii Elenhaupt
00c13fceee
Deploy docs via travis 2017-11-15 01:13:39 +02:00
Vitalii Elenhaupt
87396e850d
Remove outdated readme stuff 2017-11-14 21:54:56 +02:00
V. Elenhaupt
413e2ec0fe
Extend installation instructions (#19) 2017-11-14 20:52:15 +02:00
Vitalii Elenhaupt
06855816d7
Document configuration properties & specs 2017-11-14 10:28:26 +02:00
Vitalii Elenhaupt
80e2ab4f55
Ameba::Rule -> Ameba::Rule::Base 2017-11-08 00:02:32 +02:00
Vitalii Elenhaupt
362b66ce81
Update run example 2017-11-07 23:07:25 +02:00
Vitalii Elenhaupt
e718c90f16
Source#content -> Source#code, Source::Error#pos -> Source::Error#location 2017-11-07 23:02:38 +02:00
V. Elenhaupt
adfe654733
Performance improvements (#15)
* Performance improvements

Two main changes:

1. Cache parsed AST in a Source. So Parser will parse content only once.
2. Use one unified visitor with multiple callbacks instead of multiple
visitors to traverse AST.

This improves performance significantly, for example running it on
Crystal repository takes ~1 second, which 6 times faster than before.

* Change readme example
2017-11-06 20:54:58 +02:00
V. Elenhaupt
dff7e6a454
Travis: track only master branch 2017-11-03 12:12:45 +02:00
V. Elenhaupt
b6b62a73e7
Gitter badge 2017-11-02 10:39:29 +02:00
Vitalii Elenhaupt
628077066e
Usage info & exclude lib/ project folder 2017-11-01 19:14:38 +02:00
Vitalii Elenhaupt
11005930f6
New rule: UnlessElse 2017-10-31 22:24:02 +02:00
Vitalii Elenhaupt
f7fc34db19
Badgefy 2017-10-30 22:10:03 +02:00
Vitalii Elenhaupt
9bba850a9b
Docs & tests 2017-10-30 22:00:01 +02:00
Vitalii Elenhaupt
5e10113055
It works 2017-10-27 00:07:43 +03:00
Vitalii Elenhaupt
4e84ac871a
New rule: Line Length 2017-10-26 21:47:35 +03:00
Vitalii Elenhaupt
eb367c682e
Hello, Ameba 2017-10-26 19:46:58 +03:00