代码拉取完成,页面将自动刷新
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/master/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:
- ruby/vendor/**/* # Exclude skippy vendor folder
- ruby/main.rb
SketchUp:
SourcePath: src
TargetSketchUpVersion: 2020
Exclude: # Exclude common folders.
- profiling/
- skippy/
- tests/
TargetRubyVersion: 2.5 # Should have been 2.0 but RuboCop dropped support.
# 根据自己项目修改的一些规则
Style/AsciiComments:
Enabled: false
SketchupRequirements/FileStructure:
Enabled: false
SketchupSuggestions/FileEncoding:
Enabled: false
SketchupRequirements/ExtensionNamespace:
Enabled: false
SketchupSuggestions/ModelEntities:
Enabled: false
# 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。