AllCops: TargetRubyVersion: 2.4 NewCops: enable CacheRootDirectory: /tmp AllowSymlinksInCacheRootDirectory: true Exclude: - 'apidoc/**/*' - 'bin/bundle' - 'bin/rails' - 'bin/rake' - 'bin/setup' - 'bin/spring' - 'bin/update' - 'config/deploy/*.rb' - 'config/mixins/applications/*.rb' - 'data/**/*' - 'db/schema.rb' - 'node_modules/**/*' - 'spec/dummy/**/*' - 'vendor/**/*' - 'repositories/**/*' - 'repos/**/*' - 'tmp/**/*' Layout/ParameterAlignment: Enabled: false Layout/MultilineMethodCallIndentation: EnforcedStyle: indented Metrics/BlockLength: Exclude: - 'app/graphql/**/*' - 'config/routes.rb' - 'config/environments/**/*' - 'config/initializers/devise.rb' - 'lib/tasks/**/*.rake' - 'spec/**/*' - 'db/migrate/*' - '*.gemspec' Layout/LineLength: Exclude: - 'app/graphql/**/*_enum.rb' - 'config/initializers/devise.rb' Naming/FileName: Exclude: - config/deploy/*.rb - config/mixins/applications/*.rb - lib/git-shell.rb - lib/graphql-pundit.rb - lib/hets-agent.rb - lib/ontohub-models.rb - spec/lib/git-shell_spec.rb Style/OptionalBooleanParameter: Enabled: false Naming/MethodParameterName: Exclude: - 'spec/**/*' Style/Documentation: Enabled: false Style/DoubleNegation: Enabled: false Style/FormatStringToken: Enabled: false Style/NumericLiterals: Enabled: false Style/PercentLiteralDelimiters: PreferredDelimiters: default: () '%i': '()' '%I': '()' '%r': '{}' '%w': '()' '%W': '()' Style/SymbolArray: Exclude: - 'db/migrate/**' Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma