standard 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +2 -25
- data/config/base.yml +0 -7
- data/lib/standard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8ea569949c48b152d1a95d04c7320cb815540f1b50c16f6bef842ab4b3c0e51
|
4
|
+
data.tar.gz: 0c2c46e368c133342fbc9c164e8c82bb6e5f96624d1a33e2de36a5a96150f9a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b9f44f4a86e266e076123bfd652c61a17bebf48bce5a7d309fde6983b5c6029117fe63c239214d6edf97adbcbb05f8b33c06181e389160d268945a985c8a964
|
7
|
+
data.tar.gz: e76e53bef3fa3f3614beb3415a07d3ecba334d28a902c9f287c61d5736b49d62ea80528c59a71238d8f865525dc732bccbcc637fa46a49266ac4b1e66953c8c9
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (0.1.
|
4
|
+
standard (0.1.3)
|
5
5
|
rubocop (~> 0.72.0)
|
6
6
|
rubocop-performance (~> 1.4.0)
|
7
7
|
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
method_source (0.9.2)
|
18
18
|
minitest (5.11.3)
|
19
19
|
parallel (1.17.0)
|
20
|
-
parser (2.6.
|
20
|
+
parser (2.6.4.0)
|
21
21
|
ast (~> 2.4.0)
|
22
22
|
pry (0.12.2)
|
23
23
|
coderay (~> 1.1.0)
|
data/README.md
CHANGED
@@ -340,31 +340,8 @@ information.
|
|
340
340
|
It can be very handy to know about failures while editing to shorten the
|
341
341
|
feedback loop. Some editors support asynchronously running linters.
|
342
342
|
|
343
|
-
|
344
|
-
|
345
|
-
1. Install [linter-rubocop](https://github.com/AtomLinter/linter-rubocop) package.
|
346
|
-
|
347
|
-
2. Configure `linter-rubocop` to use either `standardrb` [binstub](https://bundler.io/man/bundle-binstubs.1.html) (`./bin/standardrb`) or a globally installed `standardrb` (with absolute path).
|
348
|
-
|
349
|
-
![alt "linter-rubocop configuration"](https://user-images.githubusercontent.com/631534/54869518-e5aa7780-4d99-11e9-81e7-777654a4f91b.png)
|
350
|
-
|
351
|
-
### Vim
|
352
|
-
|
353
|
-
Install [ale](https://github.com/w0rp/ale). And add these lines to your `.vimrc`
|
354
|
-
file.
|
355
|
-
|
356
|
-
```vimscript
|
357
|
-
let g:ale_linters = {'ruby': ['standardrb']}
|
358
|
-
let g:ale_fixers = {'ruby': ['standardrb']}
|
359
|
-
```
|
360
|
-
|
361
|
-
This sets Standard as your only linter and fixer for Ruby files and so
|
362
|
-
prevents conflicts with RuboCop. For automatic fixing on save, add
|
363
|
-
this to your `.vimrc`:
|
364
|
-
|
365
|
-
```
|
366
|
-
let g:ale_fix_on_save = 1
|
367
|
-
```
|
343
|
+
- [Atom](https://github.com/testdouble/standard/wiki/IDE:-Atom)
|
344
|
+
- [vim](https://github.com/testdouble/standard/wiki/IDE:-vim)
|
368
345
|
|
369
346
|
## Contributing
|
370
347
|
|
data/config/base.yml
CHANGED
data/lib/standard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|