diff --git a/.gitignore b/.gitignore index 606e8398c..7140b1b7a 100644 --- a/.gitignore +++ b/.gitignore @@ -21,5 +21,3 @@ config/database.yml # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc - -.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 000000000..b8bbc5dc3 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,11 @@ +Style/LineLength: + Max: 120 + +Documentation: + Enabled: false + +Style/CyclomaticComplexity: + Severity: warning + +Style/Semicolon: + AllowAsExpressionSeparator: true