-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy path.rubocop.yml
More file actions
88 lines (66 loc) · 1.77 KB
/
Copy path.rubocop.yml
File metadata and controls
88 lines (66 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
plugins:
- rubocop-minitest
AllCops:
TargetRubyVersion: 3.3
NewCops: enable
# Files ported verbatim from the legacy ruby-auth0 SDK (authentication API).
# Excluded to preserve exact compatibility with the original source.
Exclude:
- "examples/**/*"
- "lib/auth0/exception.rb"
- "lib/auth0/mixins/access_token_struct.rb"
- "lib/auth0/mixins/api_token_struct.rb"
- "lib/auth0/mixins/permission_struct.rb"
- "lib/auth0/client_assertion.rb"
- "lib/auth0/mixins/headers.rb"
- "lib/auth0/mixins/httpproxy.rb"
- "lib/auth0/mixins/token_management.rb"
- "lib/auth0/mixins/validation.rb"
- "lib/auth0/algorithm.rb"
- "lib/auth0/api/authentication_endpoints.rb"
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
Style/AccessModifierDeclarations:
Enabled: false
Lint/ConstantDefinitionInBlock:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Layout/LineLength:
Enabled: false
Naming/VariableNumber:
EnforcedStyle: normalcase
Style/Documentation:
Enabled: false
Style/OneClassPerFile:
Exclude:
- "test/**/*"
Style/Lambda:
EnforcedStyle: literal
Minitest/MultipleAssertions:
Enabled: false
Minitest/UselessAssertion:
Enabled: false
# Dynamic snippets are code samples for documentation, not standalone Ruby files.
Style/FrozenStringLiteralComment:
Exclude:
- "dynamic-snippets/**/*"
Layout/FirstHashElementIndentation:
Exclude:
- "dynamic-snippets/**/*"