-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
54 lines (41 loc) · 1.34 KB
/
.rubocop.yml
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
require: rubocop-sketchup
# If you want to use the same codding pattern as SketchUp's projects, enable
# the next line. RuboCop will then use the coding pattern from the
# rubocop-sketchup project. This coding pattern is a more relaxed version than
# the default RuboCop pattern.
# inherit_from: https://raw.githubusercontent.com/SketchUp/rubocop-sketchup/main/sketchup-style.yml
AllCops:
# This prevents normal RuboCop cops to run. Disable this to get full static
# analysis of your Ruby code.
DisabledByDefault: true
DisplayCopNames: true
DisplayStyleGuide: true
ExtraDetails: true
Exclude:
- src/*/vendor/**/* # Exclude skippy vendor folder
SketchUp:
SourcePath: src
TargetSketchUpVersion: 2017
Exclude: # Exclude common folders.
- profiling/
- skippy/
- tests/
TargetRubyVersion: 2.2
# If DisabledByDefault is set to true then we need to enable the SketchUp
# related departments:
SketchupDeprecations:
Enabled: true
SketchupPerformance:
Enabled: true
SketchupRequirements:
Enabled: true
SketchupSuggestions:
Enabled: true
SketchupBugs:
Enabled: true
# This generator makes some assumptions about the model structure.
SketchupSuggestions/ModelEntities:
Enabled: false
# This is a Trimble project, so we can use the Trimble namespace.
SketchupRequirements/ShippedExtensionsNamespace:
Enabled: false