rubocop-github 0.16.1 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,120 +0,0 @@
1
- Rails/OutputSafety:
2
- Enabled: true
3
-
4
- Rails/PluralizationGrammar:
5
- Enabled: true
6
-
7
- Rails/RequestReferer:
8
- Enabled: true
9
- EnforcedStyle: referrer
10
-
11
- Rails/ScopeArgs:
12
- Enabled: true
13
-
14
- Rails/UniqBeforePluck:
15
- Enabled: true
16
-
17
- GitHub/RailsApplicationRecord:
18
- Enabled: true
19
-
20
- GitHub/RailsControllerRenderActionSymbol:
21
- Enabled: true
22
- Include:
23
- - 'app/controllers/**/*.rb'
24
-
25
- GitHub/RailsControllerRenderLiteral:
26
- Enabled: true
27
- StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-render-literal.md
28
- Include:
29
- - 'app/controllers/**/*.rb'
30
-
31
- GitHub/RailsControllerRenderPathsExist:
32
- Enabled: true
33
- ViewPath:
34
- - 'app/views'
35
- Include:
36
- - 'app/controllers/**/*.rb'
37
-
38
- GitHub/RailsControllerRenderShorthand:
39
- Enabled: true
40
- StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-shorthand.md
41
- Include:
42
- - 'app/controllers/**/*.rb'
43
-
44
- GitHub/RailsRenderInline:
45
- Enabled: true
46
- StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-inline.md
47
- Include:
48
- - 'app/controllers/**/*.rb'
49
- - 'app/helpers/**/*.rb'
50
- - 'app/view_models/**/*.rb'
51
- - 'app/views/**/*.erb'
52
-
53
- GitHub/RailsRenderObjectCollection:
54
- Enabled: false
55
-
56
- GitHub/RailsViewRenderLiteral:
57
- Enabled: true
58
- StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-render-literal.md
59
- Include:
60
- - 'app/helpers/**/*.rb'
61
- - 'app/view_models/**/*.rb'
62
- - 'app/views/**/*.erb'
63
-
64
- GitHub/RailsViewRenderPathsExist:
65
- Enabled: true
66
- ViewPath:
67
- - 'app/views'
68
- Include:
69
- - 'app/helpers/**/*.rb'
70
- - 'app/view_models/**/*.rb'
71
- - 'app/views/**/*.erb'
72
-
73
- GitHub/RailsViewRenderShorthand:
74
- Enabled: true
75
- Include:
76
- - 'app/helpers/**/*.rb'
77
- - 'app/view_models/**/*.rb'
78
- - 'app/views/**/*.erb'
79
-
80
- # Exclude Rails ERB files from incompatible cops
81
-
82
- Layout/BlockAlignment:
83
- Exclude:
84
- - 'app/views/**/*.erb'
85
-
86
- Style/For:
87
- Exclude:
88
- - 'app/views/**/*.erb'
89
-
90
- Style/OneLineConditional:
91
- Exclude:
92
- - 'app/views/**/*.erb'
93
-
94
- Style/Semicolon:
95
- Exclude:
96
- - 'app/views/**/*.erb'
97
-
98
- Layout/SpaceInsideParens:
99
- Exclude:
100
- - 'app/views/**/*.erb'
101
-
102
- Style/StringLiterals:
103
- Exclude:
104
- - 'app/views/**/*.erb'
105
-
106
- Layout/TrailingEmptyLines:
107
- Exclude:
108
- - 'app/views/**/*.erb'
109
-
110
- Layout/TrailingWhitespace:
111
- Exclude:
112
- - 'app/views/**/*.erb'
113
-
114
- Layout/InitialIndentation:
115
- Exclude:
116
- - 'app/views/**/*.erb'
117
-
118
- Lint/UselessAccessModifier:
119
- ContextCreatingMethods:
120
- - concerning
@@ -1,4 +0,0 @@
1
- inherit_from: _default_shared.yml
2
-
3
- AllCops:
4
- DisabledByDefault: true
@@ -1,4 +0,0 @@
1
- inherit_from: _default_shared.yml
2
-
3
- require:
4
- - rubocop-performance
@@ -1,7 +0,0 @@
1
- inherit_from: _rails_shared.yml
2
-
3
- Rails:
4
- Enabled: true
5
-
6
- Rails/FindEach:
7
- Enabled: false
@@ -1,4 +0,0 @@
1
- inherit_from: _rails_shared.yml
2
-
3
- require:
4
- - rubocop-rails