-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
413 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ruby: | ||
enabled: true | ||
config_file: .rubocop_merged_for_hound.yml | ||
|
||
coffee_script: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,265 @@ | ||
# | ||
# NOTE: * DO NOT EDIT THIS FILE! * | ||
# | ||
# This file should match the config/style_guides/ruby.yml from the | ||
# thoughtbot/hound project | ||
|
||
AllCops: | ||
Exclude: | ||
- db/schema.rb | ||
|
||
AccessorMethodName: | ||
Enabled: false | ||
|
||
ActionFilter: | ||
Enabled: false | ||
|
||
Alias: | ||
Enabled: false | ||
|
||
ArrayJoin: | ||
Enabled: false | ||
|
||
AsciiComments: | ||
Enabled: false | ||
|
||
AsciiIdentifiers: | ||
Enabled: false | ||
|
||
Attr: | ||
Enabled: false | ||
|
||
BlockNesting: | ||
Enabled: false | ||
|
||
CaseEquality: | ||
Enabled: false | ||
|
||
CharacterLiteral: | ||
Enabled: false | ||
|
||
ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
ClassLength: | ||
Enabled: false | ||
|
||
ClassVars: | ||
Enabled: false | ||
|
||
CollectionMethods: | ||
PreferredMethods: | ||
find: detect | ||
reduce: inject | ||
collect: map | ||
find_all: select | ||
|
||
ColonMethodCall: | ||
Enabled: false | ||
|
||
CommentAnnotation: | ||
Enabled: false | ||
|
||
CyclomaticComplexity: | ||
Enabled: false | ||
|
||
Delegate: | ||
Enabled: false | ||
|
||
DeprecatedHashMethods: | ||
Enabled: false | ||
|
||
Documentation: | ||
Enabled: false | ||
|
||
DotPosition: | ||
EnforcedStyle: trailing | ||
|
||
DoubleNegation: | ||
Enabled: false | ||
|
||
EachWithObject: | ||
Enabled: false | ||
|
||
EmptyLiteral: | ||
Enabled: false | ||
|
||
Encoding: | ||
Enabled: false | ||
|
||
EvenOdd: | ||
Enabled: false | ||
|
||
FileName: | ||
Enabled: false | ||
|
||
FlipFlop: | ||
Enabled: false | ||
|
||
FormatString: | ||
Enabled: false | ||
|
||
GlobalVars: | ||
Enabled: false | ||
|
||
GuardClause: | ||
Enabled: false | ||
|
||
IfUnlessModifier: | ||
Enabled: false | ||
|
||
IfWithSemicolon: | ||
Enabled: false | ||
|
||
InlineComment: | ||
Enabled: false | ||
|
||
Lambda: | ||
Enabled: false | ||
|
||
LambdaCall: | ||
Enabled: false | ||
|
||
LineEndConcatenation: | ||
Enabled: false | ||
|
||
LineLength: | ||
Max: 80 | ||
|
||
MethodLength: | ||
Enabled: false | ||
|
||
ModuleFunction: | ||
Enabled: false | ||
|
||
NegatedIf: | ||
Enabled: false | ||
|
||
NegatedWhile: | ||
Enabled: false | ||
|
||
Next: | ||
Enabled: false | ||
|
||
NilComparison: | ||
Enabled: false | ||
|
||
Not: | ||
Enabled: false | ||
|
||
NumericLiterals: | ||
Enabled: false | ||
|
||
OneLineConditional: | ||
Enabled: false | ||
|
||
OpMethod: | ||
Enabled: false | ||
|
||
ParameterLists: | ||
Enabled: false | ||
|
||
PercentLiteralDelimiters: | ||
Enabled: false | ||
|
||
PerlBackrefs: | ||
Enabled: false | ||
|
||
PredicateName: | ||
NamePrefixBlacklist: | ||
- is_ | ||
|
||
Proc: | ||
Enabled: false | ||
|
||
RaiseArgs: | ||
Enabled: false | ||
|
||
RegexpLiteral: | ||
Enabled: false | ||
|
||
SelfAssignment: | ||
Enabled: false | ||
|
||
SingleLineBlockParams: | ||
Enabled: false | ||
|
||
SingleLineMethods: | ||
Enabled: false | ||
|
||
SignalException: | ||
Enabled: false | ||
|
||
SpecialGlobalVars: | ||
Enabled: false | ||
|
||
StringLiterals: | ||
EnforcedStyle: double_quotes | ||
|
||
VariableInterpolation: | ||
Enabled: false | ||
|
||
TrailingComma: | ||
Enabled: false | ||
|
||
TrivialAccessors: | ||
Enabled: false | ||
|
||
VariableInterpolation: | ||
Enabled: false | ||
|
||
WhenThen: | ||
Enabled: false | ||
|
||
WhileUntilModifier: | ||
Enabled: false | ||
|
||
WordArray: | ||
Enabled: false | ||
|
||
# Lint | ||
|
||
AmbiguousOperator: | ||
Enabled: false | ||
|
||
AmbiguousRegexpLiteral: | ||
Enabled: false | ||
|
||
AssignmentInCondition: | ||
Enabled: false | ||
|
||
ConditionPosition: | ||
Enabled: false | ||
|
||
DeprecatedClassMethods: | ||
Enabled: false | ||
|
||
ElseLayout: | ||
Enabled: false | ||
|
||
HandleExceptions: | ||
Enabled: false | ||
|
||
InvalidCharacterLiteral: | ||
Enabled: false | ||
|
||
LiteralInCondition: | ||
Enabled: false | ||
|
||
LiteralInInterpolation: | ||
Enabled: false | ||
|
||
Loop: | ||
Enabled: false | ||
|
||
ParenthesesAsGroupedExpression: | ||
Enabled: false | ||
|
||
RequireParentheses: | ||
Enabled: false | ||
|
||
UnderscorePrefixedVariableName: | ||
Enabled: false | ||
|
||
Void: | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# NOTE: DO NOT put a 'inheried_from' in this file, because Hound with silently | ||
# ignore it | ||
# | ||
# Files you want to exclude | ||
AllCops: | ||
# Rails cops (so we don't need to run with -R option) | ||
RunRailsCops: true | ||
Exclude: | ||
- db/schema.rb | ||
- Gemfile | ||
- Rakefile | ||
|
||
# TODO: put your overrides here: | ||
|
||
StringLiterals: | ||
EnforcedStyle: single_quotes | ||
# | ||
# LineLength: | ||
# Max: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
inherit_from: | ||
- .hound/defaults.yml | ||
- .hound/overrides.yml | ||
- .rubocop_todo.yml | ||
|
||
# Rails cops (so we don't need to run with -R option) | ||
AllCops: | ||
RunRailsCops: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# This is a file generated by `hound-tools` | ||
# | ||
# We don't include .hound/defaults.yml, because Hound has internally | ||
# loaded them at this point | ||
# | ||
# --------------------------------- | ||
# .hound/overrides.yml | ||
# --------------------------------- | ||
# NOTE: DO NOT put a 'inheried_from' in this file, because Hound with silently | ||
# ignore it | ||
# | ||
# Files you want to exclude | ||
AllCops: | ||
# Rails cops (so we don't need to run with -R option) | ||
RunRailsCops: true | ||
Exclude: | ||
- db/schema.rb | ||
- Gemfile | ||
- Rakefile | ||
|
||
# TODO: put your overrides here: | ||
|
||
StringLiterals: | ||
EnforcedStyle: single_quotes | ||
# | ||
# LineLength: | ||
# Max: 200 | ||
# --------------------------------- | ||
# .rubocop_todo.yml | ||
# --------------------------------- | ||
# This configuration was generated by `rubocop --auto-gen-config` | ||
# on 2014-12-09 05:16:56 +0100 using RuboCop version 0.25.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 12 | ||
# Configuration parameters: AllowURI. | ||
Metrics/LineLength: | ||
Max: 163 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This configuration was generated by `rubocop --auto-gen-config` | ||
# on 2014-12-09 05:16:56 +0100 using RuboCop version 0.25.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 12 | ||
# Configuration parameters: AllowURI. | ||
Metrics/LineLength: | ||
Max: 163 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,5 @@ def run_on_modifications(paths) | |
sleep options[:grace_period] | ||
reactor.reload_browser(paths) | ||
end | ||
|
||
end | ||
end |
Oops, something went wrong.