generated from SketchUp/sketchup-extension-vscode-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
45 lines (35 loc) · 1.12 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
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: 2020.0 # TODO: Should be 2020.1
Exclude: # Exclude common folders.
- profiling/
- skippy/
- tests/
TargetRubyVersion: 2.5
# 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