rubocop-standard 2.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/rails.yml +14 -14
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 820b354fe146e4cfd1912ae8110839685df54aaac302d3c15adec2f875ca3291
|
4
|
+
data.tar.gz: '04849319335d5679e7d11fe3d019d1283e0c26c6e4778e1e78e007e8034627c1'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 855b041c6f66e645d45961afe0974d397e189e202e3bb9ea38523af4f4e70a74846014bff2c940f4f005df2eb92c0cb48aea1570b7efdf82d092fa4bbc13f9d9
|
7
|
+
data.tar.gz: e1b9d6fff67c20f06793a0106b59afad180d28076d02ba36c4cf0243590c224923b541937eefa1d075d58287254a23735146f077cf846f871c443acbc453667d
|
data/config/rails.yml
CHANGED
@@ -17,54 +17,54 @@ Rails/ScopeArgs:
|
|
17
17
|
Rails/UniqBeforePluck:
|
18
18
|
Enabled: true
|
19
19
|
|
20
|
-
|
20
|
+
Standard/RailsApplicationRecord:
|
21
21
|
Enabled: true
|
22
22
|
|
23
|
-
|
23
|
+
Standard/RailsControllerRenderActionSymbol:
|
24
24
|
Enabled: true
|
25
25
|
Include:
|
26
26
|
- "app/controllers/**/*.rb"
|
27
27
|
|
28
|
-
|
28
|
+
Standard/RailsControllerRenderLiteral:
|
29
29
|
Enabled: true
|
30
|
-
StyleGuide: https://
|
30
|
+
StyleGuide: https://Standard.com/Standard/rubocop-Standard/blob/master/guides/rails-render-literal.md
|
31
31
|
Include:
|
32
32
|
- "app/controllers/**/*.rb"
|
33
33
|
|
34
|
-
|
34
|
+
Standard/RailsControllerRenderPathsExist:
|
35
35
|
Enabled: true
|
36
36
|
ViewPath:
|
37
37
|
- "app/views"
|
38
38
|
Include:
|
39
39
|
- "app/controllers/**/*.rb"
|
40
40
|
|
41
|
-
|
41
|
+
Standard/RailsControllerRenderShorthand:
|
42
42
|
Enabled: true
|
43
|
-
StyleGuide: https://
|
43
|
+
StyleGuide: https://Standard.com/Standard/rubocop-Standard/blob/master/guides/rails-controller-render-shorthand.md
|
44
44
|
Include:
|
45
45
|
- "app/controllers/**/*.rb"
|
46
46
|
|
47
|
-
|
47
|
+
Standard/RailsRenderInline:
|
48
48
|
Enabled: true
|
49
|
-
StyleGuide: https://
|
49
|
+
StyleGuide: https://Standard.com/Standard/rubocop-Standard/blob/master/guides/rails-controller-render-inline.md
|
50
50
|
Include:
|
51
51
|
- "app/controllers/**/*.rb"
|
52
52
|
- "app/helpers/**/*.rb"
|
53
53
|
- "app/view_models/**/*.rb"
|
54
54
|
- "app/views/**/*.erb"
|
55
55
|
|
56
|
-
|
56
|
+
Standard/RailsRenderObjectCollection:
|
57
57
|
Enabled: false
|
58
58
|
|
59
|
-
|
59
|
+
Standard/RailsViewRenderLiteral:
|
60
60
|
Enabled: true
|
61
|
-
StyleGuide: https://
|
61
|
+
StyleGuide: https://Standard.com/Standard/rubocop-Standard/blob/master/guides/rails-render-literal.md
|
62
62
|
Include:
|
63
63
|
- "app/helpers/**/*.rb"
|
64
64
|
- "app/view_models/**/*.rb"
|
65
65
|
- "app/views/**/*.erb"
|
66
66
|
|
67
|
-
|
67
|
+
Standard/RailsViewRenderPathsExist:
|
68
68
|
Enabled: true
|
69
69
|
ViewPath:
|
70
70
|
- "app/views"
|
@@ -73,7 +73,7 @@ GitHub/RailsViewRenderPathsExist:
|
|
73
73
|
- "app/view_models/**/*.rb"
|
74
74
|
- "app/views/**/*.erb"
|
75
75
|
|
76
|
-
|
76
|
+
Standard/RailsViewRenderShorthand:
|
77
77
|
Enabled: true
|
78
78
|
Include:
|
79
79
|
- "app/helpers/**/*.rb"
|