rubocop-rickselby 0.14.0.pre.4 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c5fe5c9bb9f5336f8428680f9ae8267540baddb4ea20e842a07fe18b10c8382
4
- data.tar.gz: b729000310965d2b30cb657334762e6c1d36dbfb19681d1cfad03deddc95631b
3
+ metadata.gz: 02ae733e60e042ff1e081e32e2fe447b7a0dd81edf6d4f5cba37106ad366f573
4
+ data.tar.gz: f7ada6c9d60b4090a5333597b2f8b7e769a3d386c746b938e7c74ddb45bac6f7
5
5
  SHA512:
6
- metadata.gz: e6cbf19d950c898048b47e67ec3af293fc2131e8a39b33ae64c1bba2fb2df6ed943f74a02ab7f09f2b6fadf75da74aec599201517b05ec43f1398bf18c0deee2
7
- data.tar.gz: bc6106832667ea513af7d30bfc73c1b49d77b9c1cc80daf4260d96d6446ae42ab59e005518a8e1c69d28d35f220afd945300aaad2511ef12425f950520e52645
6
+ metadata.gz: f0ac5a39c49da88684f59c4e66b0e3a24674ed54c403610f3e1bdd2952df8ed6a652a5e80b48da33c694e63210b60f6f026e4e811055ba0df920c90ca2d2e80c
7
+ data.tar.gz: fb505b7f6ecafa91a65a44a6771b5892285b95e97eaad493e1811abc13cb5a2a6b52649959253fc6ea653a47bcc0a1792f511fc5cde577cb770f31625f7d228f
data/README.md CHANGED
@@ -7,9 +7,8 @@ Config in `./config`
7
7
  Add `rubocop-rickselby` to your Gemfile:
8
8
 
9
9
  ```ruby
10
-
11
10
  group :development, :test do
12
- gem "rubocop-rickselby", "~> 0.10", require: false
11
+ gem "rubocop-rickselby", "~> 0.14", require: false
13
12
  end
14
13
  ```
15
14
 
@@ -27,6 +26,31 @@ inherit_gem:
27
26
  - config/sequel.yml # sequel-specific rules and cops
28
27
  ```
29
28
 
29
+ You can override cops in your own local `.rubocop.yml` file as required.
30
+
31
+ ### `erb-lint`
32
+
33
+ Config is also available for [https://github.com/Shopify/erb-lint](erb-lint).
34
+
35
+ Add a local `.erb-lint.yml` file to your project:
36
+
37
+ ```yaml
38
+ ---
39
+ exclude:
40
+ - 'node_modules/**/*'
41
+ - 'vendor/**/*'
42
+ inherit_gem:
43
+ rubocop-rickselby:
44
+ - config/erb-lint.yml
45
+ ```
46
+
47
+ The default file path is `**/*.html{+*,}.erb` - this can be changed with a `glob` setting in `.erb-lint.yml`, e.g.
48
+
49
+ ```yaml
50
+ ---
51
+ glob: "**/*.erb"
52
+ ```
53
+
30
54
  ## Contributing
31
55
  Bug reports and pull requests are welcome on GitHub at https://github.com/rickselby/rubocop-rickselby.
32
56
 
data/config/erb-lint.yml CHANGED
@@ -1,8 +1,5 @@
1
1
  ---
2
2
  EnableDefaultLinters: true
3
- exclude:
4
- - 'node_modules/**/*'
5
- - 'vendor/**/*'
6
3
  linters:
7
4
  ErbSafety:
8
5
  enabled: true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Rickselby
5
- VERSION = "0.14.0.pre.4"
5
+ VERSION = "0.14.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rickselby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0.pre.4
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Selby