lifen-ruby-style 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.overcommit.yml +1 -0
- data/README.md +7 -4
- data/default_rubocop.yml +4 -0
- data/lib/lifen/ruby_style/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: 98bf06dfd5e89c45b0db61d216c7bebf02d9c0c2c3f5b0f5bf541d7f7ac04549
|
4
|
+
data.tar.gz: fe187d143ebf8f45d14aaa4840036f07e298e50a685779b4fa5d7cf4146d75d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bbfa947d38b858e4b7f16f5b20d4fb3c6e09916c2541c246b43fb50b9ee0e3c12a3f5c227b86475588046a71cdacce1b9a30bc59dd03f366b5e040606863dd9
|
7
|
+
data.tar.gz: 194a8cd141680f1acbad8e0eb2e5f247cf17b06e65f92066232d3b5832397a0ec9625afa9692bd92a2395b0683249160c9ee7f346690c45c790f9d2bfc58b729
|
data/.overcommit.yml
CHANGED
data/README.md
CHANGED
@@ -123,17 +123,20 @@ $ bundle exec overcommit --install
|
|
123
123
|
- Paramétrage recommandé pour l'auto-formatting :
|
124
124
|
|
125
125
|
```json
|
126
|
+
"editor.formatOnPaste": true, // global auto-format code when pasting
|
127
|
+
"editor.formatOnSave": true, // global auto-format code when saving
|
126
128
|
"[ruby]": {
|
127
|
-
"editor.
|
128
|
-
"editor.formatOnSave": true // auto-format ruby code when saving
|
129
|
+
"editor.formatOnSave": false // disable auto-format on save only for ruby files
|
129
130
|
},
|
130
131
|
```
|
131
132
|
|
132
133
|
ou
|
133
134
|
|
134
135
|
```json
|
135
|
-
"
|
136
|
-
|
136
|
+
"[ruby]": {
|
137
|
+
"editor.formatOnPaste": true, // auto-format ruby code when pasting
|
138
|
+
"editor.formatOnSave": false // auto-format ruby code when saving
|
139
|
+
},
|
137
140
|
```
|
138
141
|
|
139
142
|
### 3. Bonus - Autres extensions utiles :
|
data/default_rubocop.yml
CHANGED
@@ -91,6 +91,10 @@ Metrics/PerceivedComplexity:
|
|
91
91
|
Naming/MemoizedInstanceVariableName:
|
92
92
|
EnforcedStyleForLeadingUnderscores: required
|
93
93
|
|
94
|
+
RSpec/DescribeClass:
|
95
|
+
Exclude:
|
96
|
+
- spec/lib/tasks/deployment/**/*
|
97
|
+
|
94
98
|
Style/BlockDelimiters:
|
95
99
|
EnforcedStyle: braces_for_chaining
|
96
100
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lifen-ruby-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Team Lifen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: overcommit
|