Skip to content

Instantly share code, notes, and snippets.

@komagata
Last active June 25, 2022 03:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save komagata/9ad19373b9f9059ca52e727fbb7f2944 to your computer and use it in GitHub Desktop.
Save komagata/9ad19373b9f9059ca52e727fbb7f2944 to your computer and use it in GitHub Desktop.
Fjord rubocop configuration.
require:
- rubocop-rails
AllCops:
Exclude:
- '**/templates/**/*'
- '**/vendor/**/*'
- 'app/views/**/*'
- 'config/**/*'
- 'node_modules/**/*'
- 'db/schema.rb'
- 'storage/**/*'
- 'tmp/**/*'
Metrics/MethodLength:
Exclude:
- 'db/migrate/*.rb'
require:
- rubocop-performance
Performance:
Exclude:
- '**/test/**/*'
Layout/LineLength:
Max: 160
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment