From e202b7eae776024f292fd3e226d91d745721de65 Mon Sep 17 00:00:00 2001 From: Nicolas McCurdy Date: Sat, 4 Jan 2014 20:20:10 -0500 Subject: [PATCH] Add a rubocop todo-style config created by "--auto-gen-config" and inherit it --- .rubocop.yml | 1 + rubocop-todo.yml | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 .rubocop.yml create mode 100644 rubocop-todo.yml diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..137ead8 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1 @@ +inherit_from: rubocop-todo.yml diff --git a/rubocop-todo.yml b/rubocop-todo.yml new file mode 100644 index 0000000..f7f8ebc --- /dev/null +++ b/rubocop-todo.yml @@ -0,0 +1,66 @@ +# This configuration was generated by `rubocop --auto-gen-config`. +# The point is for the user to remove these configuration records +# one by one as the offences are removed from the code base. + +BlockAlignment: + Enabled: false + +BlockNesting: + Max: 4 + +ClassLength: + Max: 352 + +CommentAnnotation: + Enabled: false + +CyclomaticComplexity: + Max: 16 + +Documentation: + Enabled: false + +EmptyLinesAroundBody: + Enabled: false + +Eval: + Enabled: false + +FavorUnlessOverNegatedIf: + Enabled: false + +HashSyntax: + Enabled: false + +IndentationWidth: + Enabled: false + +LineLength: + Max: 174 + +MethodLength: + Max: 31 + +PerlBackrefs: + Enabled: false + +RedundantReturn: + Enabled: false + +RegexpLiteral: + Enabled: false + +SignalException: + Enabled: false + +SpaceAfterComma: + Enabled: false + +SpaceAfterNot: + Enabled: false + +SpaceAroundBlockBraces: + Enabled: false + +StringLiterals: + Enabled: false