Commit graph

171 commits

Author SHA1 Message Date
Sijawusz Pur Rahnama
b225b17b5b Use shards build command 2018-04-11 15:31:20 +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
7a1cf29ea7
Revert 6d485d4edf 2018-03-18 19:51:33 +02:00
Vitalii Elenhaupt
6d485d4edf
Github Pages deployment is broken with dpl 1.9.0 2018-03-11 20:00:12 +02:00
Vitalii Elenhaupt
f4734a5467
Crystal 0.24.2 2018-03-11 19:55:43 +02:00
Vitalii Elenhaupt
c6d842c01d
Verbose deployement via travis 2018-03-08 19:20:44 +02:00
Vitalii Elenhaupt
2f837375ec New rule: rand zero 2018-03-08 18:59:20 +02:00
Vitalii Elenhaupt
672de9f86b
v0.5.0 2018-02-02 22:17:39 +02:00
Vitalii Elenhaupt
eda5960b0f Check for unneeded directives when all other rules are done 2018-02-02 22:17:04 +02:00
Vitalii Elenhaupt
6fb483a2dd Prevent disabling of UnneededDisableDirective rule 2018-02-02 22:17:04 +02:00
Vitalii Elenhaupt
8075c39aa9 Unneeded disable directive 2018-02-02 22:17:04 +02:00
Vitalii Elenhaupt
2382657e15
Add rule's name to flycheck formatter 2018-01-31 13:30:59 +02:00
Vitalii Elenhaupt
69cff77970 Add DisabledFormatter to trace disabled lines 2018-01-30 16:09:00 +02:00
Vitalii Elenhaupt
9f85b16e09 Add inline directives parsing and disabling 2018-01-30 16:09:00 +02:00
Vitalii Elenhaupt
55b66e7975 Use more natural way to define error with custom loc 2018-01-30 16:09:00 +02:00
Vitalii Elenhaupt
1d436fbb94
Allow to configure formatter via configuration file
closes #20
2018-01-25 16:53:08 +02:00
Vitalii Elenhaupt
bfe18f4a77
v0.4.2 2018-01-25 12:38:33 +02:00
Vitalii Elenhaupt
4c85ad7c75 Syntax rule running priorities 2018-01-25 12:37:25 +02:00
Vitalii Elenhaupt
c9db63bf34 Syntax rule 2018-01-25 12:37:25 +02:00
Vitalii Elenhaupt
2f9d31b02d
Add editor-integration section
closes #26
2018-01-24 15:23:00 +02:00
Vitalii Elenhaupt
ca502754b6
Allow to inspect a directory 2018-01-24 14:02:18 +02:00
Vitalii Elenhaupt
a8c6ac6efd
v0.4.1 2018-01-21 09:53:21 +02:00
Vitalii Elenhaupt
c5729b1e9b
Remove --release flag
fixes #31

It is still possible to do:

```
$ CRFLAGS=--release make bin
```
2018-01-21 09:51:57 +02:00
Vitalii Elenhaupt
51fa9f024b
Much simpler way to build todo yaml
https://stackoverflow.com/a/39906916/1586762

thx @asterite 🎉
2017-12-29 12:11:38 +02:00
Vitalii Elenhaupt
b27d9ca740
Fix missing code sample in docs 2017-12-26 18:34:58 +02:00
Vitalii Elenhaupt
38f07be2a9
Correct docs location
refs https://github.com/crystal-lang/crystal/pull/5217
2017-12-26 18:28:56 +02:00
Vitalii Elenhaupt
c644ddb397
v0.4.0 2017-12-26 18:22:48 +02:00
Vitalii Elenhaupt
03ee9f3e38 Use shards version
refs:

  * https://github.com/crystal-lang/crystal/pull/5428
  * https://github.com/crystal-lang/shards/pull/148
2017-12-26 18:21:21 +02:00
Vitalii Elenhaupt
7e8703dda0 Crystal 0.24.1 support 2017-12-26 18:21:21 +02:00
Vitalii Elenhaupt
eca0d28692
Excluded relative path path 2017-12-18 13:06:19 +02:00
Vitalii Elenhaupt
63eda4e820
Change logo path 2017-12-12 08:16:34 +02:00
Vitalii Elenhaupt
b515faff87 Add cmd specs 2017-12-11 11:19:56 +02:00
Vitalii Elenhaupt
e1fa8677b0 Add flycheck formatter
refs #26
2017-12-11 11:19:56 +02:00
Vitalii Elenhaupt
202a73ae0e
v0.3.0 2017-12-06 17:00:44 +02:00
V. Elenhaupt
f12a224dad
New rule: shadowed exception (#25) 2017-12-06 16:59:10 +02:00
Vitalii Elenhaupt
96c1af4e35
New rule: useless condition in when
thanks to @hugoabonizio for suggesstion
2017-12-02 21:55:50 +02:00
Vitalii Elenhaupt
8cbdd0de4d Remove temp config, adjust Readme 2017-12-01 19:01:25 +02:00
Vitalii Elenhaupt
8bf5066d6a Add Excluded property to the rule 2017-12-01 19:01:25 +02:00
Vitalii Elenhaupt
a1854c0aa3 TODO formatter 2017-12-01 19:01:25 +02:00
Vitalii Elenhaupt
bc552d0730 Generate config
closes #17
2017-12-01 19:01:25 +02:00
Vitalii Elenhaupt
db815a2e30
Fix error message 2017-12-01 00:03:05 +02:00
Luis Lavena
27384ed889 Recognize individual files to process from CLI (#23)
Recent refactor of code introduced a regression: provide individual
files to CLI resulted in all *.cr files being processed instead, so
given file was ignored.

This change restores the original behavior that allows more fine
grained execution.
2017-11-29 10:52:40 +02:00
Hugo Abonizio
b023ae0baa Disallows while true (#22)
* Disallows `while true`

* Add syntax highlighting in documentation

* Replace `while true` occurrencies

* Add WhileTrue rule to config sample
2017-11-27 15:35:15 +02:00
Vitalii Elenhaupt
21abce63bd
Report only wrong predicate names 2017-11-23 19:58:59 +02:00
Vitalii Elenhaupt
dceafd26e5
Except & only cli flags 2017-11-23 19:49:45 +02:00
Vitalii Elenhaupt
34707903b8
Fix nodoc 2017-11-23 10:54:56 +02:00
Vitalii Elenhaupt
f4f401d56f
Make config loading more flexible 2017-11-23 10:41:22 +02:00
Vitalii Elenhaupt
b5c9f4dff6
Fix mistakes/typos 2017-11-19 13:31:20 +02:00
Vitalii Elenhaupt
0520774930
New rule: duplicated when 2017-11-18 18:39:45 +02:00
Vitalii Elenhaupt
1839ef2ab5
New rule: hash duplicated key 2017-11-18 00:51:16 +02:00