-
Notifications
You must be signed in to change notification settings - Fork 17
/
.rubocop.yml
48 lines (37 loc) · 1.18 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
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
SuggestExtensions:
rubocop-minitest: false # Only used to aid IDE code insight
DisplayCopNames: true
DisplayStyleGuide: true
ExtraDetails: true
Exclude:
- src/*/vendor/**/* # Exclude skippy vendor folder
SketchUp:
SourcePath: src
TargetSketchUpVersion: 2014
Exclude: # Exclude common folders.
- profiling/
- skippy/
- tests/
TargetRubyVersion: 2.0
# 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