2022-10-31 19:34:23 +01:00
|
|
|
##
|
|
|
|
# Defaults
|
|
|
|
AllCops:
|
2023-03-11 18:31:44 +01:00
|
|
|
TargetRubyVersion: 3.2
|
2024-05-20 01:22:14 +02:00
|
|
|
Exclude:
|
|
|
|
- submodules/**/*
|
2024-08-31 05:25:04 +02:00
|
|
|
- source/**/*
|
2023-03-11 18:31:44 +01:00
|
|
|
Include:
|
|
|
|
- Rakefile.rb
|
2024-05-20 01:22:14 +02:00
|
|
|
- rake/tasks/*.rake
|
2023-07-25 19:18:15 +02:00
|
|
|
- nanoc/rules/*.rules
|
|
|
|
- nanoc/rules/**/**/*.rules
|
|
|
|
- nanoc/lib/*.rb
|
|
|
|
- nanoc/lib/**/*.rb
|
|
|
|
- nanoc/lib/**/**.rb
|
2022-10-31 19:34:23 +01:00
|
|
|
|
|
|
|
##
|
2023-03-11 18:31:44 +01:00
|
|
|
# Defaults: standard-rb
|
2022-10-31 19:34:23 +01:00
|
|
|
require:
|
|
|
|
- standard
|
|
|
|
inherit_gem:
|
|
|
|
standard: config/base.yml
|
|
|
|
|
|
|
|
##
|
2023-07-25 19:18:15 +02:00
|
|
|
# Enabled
|
2022-10-31 19:34:23 +01:00
|
|
|
Style/FrozenStringLiteralComment:
|
|
|
|
Enabled: true
|
2023-03-12 20:50:19 +01:00
|
|
|
Layout/SpaceInsideHashLiteralBraces:
|
|
|
|
Enabled: true
|
2022-10-31 19:34:23 +01:00
|
|
|
|
|
|
|
##
|
2023-03-11 18:31:44 +01:00
|
|
|
# Disabled
|
2024-06-22 05:28:37 +02:00
|
|
|
Style/MixinUsage:
|
|
|
|
Exclude:
|
|
|
|
- Rakefile.rb
|
2024-06-22 10:25:52 +02:00
|
|
|
Style/SuperArguments:
|
|
|
|
Exclude:
|
|
|
|
- nanoc/lib/nanoc/extension/anonymous_filter.rb
|
2022-10-31 19:34:23 +01:00
|
|
|
Layout/MultilineMethodCallIndentation:
|
|
|
|
Enabled: false
|
2022-11-18 03:34:46 +01:00
|
|
|
Layout/ArgumentAlignment:
|
|
|
|
Enabled: false
|
2023-03-11 18:31:44 +01:00
|
|
|
Layout/ArrayAlignment:
|
|
|
|
Enabled: false
|
2023-03-25 12:02:55 +01:00
|
|
|
Layout/ExtraSpacing:
|
|
|
|
Enabled: false
|
2022-10-31 19:34:23 +01:00
|
|
|
Style/TrivialAccessors:
|
|
|
|
Enabled: false
|
2024-05-26 07:56:50 +02:00
|
|
|
Style/PercentLiteralDelimiters:
|
|
|
|
Enabled: false
|