Skip to content

Instantly share code, notes, and snippets.

@vilusa
Last active November 11, 2019 11:53
Show Gist options
  • Save vilusa/793d045498a7989fba641b0381606dc8 to your computer and use it in GitHub Desktop.
Save vilusa/793d045498a7989fba641b0381606dc8 to your computer and use it in GitHub Desktop.
Pronto Environments
---
linters:
ErbSafety:
enabled: true
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Style/FrozenStringLiteralComment:
Enabled: false
Layout/InitialIndentation:
Enabled: false
Layout/TrailingBlankLines:
Enabled: false
Lint/UselessAssignment:
Enabled: false
# Common configuration.
AllCops:
Include:
- 'Rakefile'
- 'config.ru'
- 'Gemfile'
Exclude:
- bin/**/**
- db/**/**
- db/schema.rb
- tmp/**/**/**/**
Style/Documentation:
Enabled: false
Naming/MethodName:
Exclude:
- 'Gemfile'
Metrics/LineLength:
Max: 110
Exclude:
- 'Gemfile'
- 'config/initializers/*.rb'
Metrics/MethodLength:
CountComments: false
Max: 15
Layout/AlignHash:
Exclude:
- 'config/initializers/*.rb'
Metrics/BlockLength:
CountComments: false
Max: 40
Exclude:
- 'Rakefile'
- '**/*.rake'
- 'spec/**/*.rb'
- 'config/routes.rb'
- 'config/initializers/*.rb'
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Exclude:
- 'Gemfile'
- 'Rakefile'
- 'config.ru'
- '**/*.rake'
- 'config/**/*.rb'
- 'test/**/*.rb'
- 'test/*.rb'
- 'lib/*.rb'
Style/ClassAndModuleChildren:
Exclude:
- 'app/concepts/**/*.rb'
- 'app/controllers/**/*.rb'
- 'test/**/*.rb'
# Pronto runners
group :development do
gem 'pronto', '~> 0.10.0'
gem 'pronto-flay', '~> 0.10.0', require: false
gem 'pronto-poper', '~> 0.10.0', require: false
gem 'pronto-rubocop', '~> 0.10.0', require: false
gem 'pronto-fasterer', '~> 0.10.0', require: false
gem 'pronto-erb_lint', '~> 0.1.5', require: false
gem 'pronto-brakeman', '~> 0.10.0', require: false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment