You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .rubocop.yml
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,12 @@ Naming/VariableNumber:
50
50
Description: Use the configured style when numbering symbols, methods and variables.
51
51
Enabled: false
52
52
53
+
Security/Eval:
54
+
Description: The use of eval represents a serious security risk.
55
+
Exclude:
56
+
- 'lib/faker/default/json.rb'
57
+
- 'benchmark/generators.rb'
58
+
53
59
Style/AsciiComments:
54
60
Description: This cop checks for non-ascii (non-English) characters in comments.
55
61
Exclude:
@@ -71,6 +77,7 @@ Style/EvalWithLocation:
71
77
Description: This cop checks eval method usage. eval can receive source location metadata, that are filename and line number.
72
78
Exclude:
73
79
- 'lib/faker/default/json.rb'
80
+
- 'benchmark/generators.rb'
74
81
75
82
Style/FormatStringToken:
76
83
Description: This cop checks for a consistent style for named format string tokens.
@@ -102,11 +109,6 @@ Style/RegexpLiteral:
102
109
- mixed
103
110
AllowInnerSlashes: false
104
111
105
-
Security/Eval:
106
-
Description: The use of eval represents a serious security risk.
107
-
Exclude:
108
-
- 'lib/faker/default/json.rb'
109
-
110
112
Style/IfUnlessModifier:
111
113
Description: Checks for `if` and `unless` statements that would fit on one line if written as modifier `if`/`unless`. The cop also checks for modifier `if`/`unless` lines that exceed the maximum line length.
0 commit comments