-
Notifications
You must be signed in to change notification settings - Fork 4
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
91 changed files
with
1,758 additions
and
1,554 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 |
---|---|---|
@@ -1,19 +1,14 @@ | ||
require: | ||
- rubocop-performance | ||
|
||
inherit_from: | ||
- .rubocop_todo.yml | ||
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml | ||
- .rubocop_todo.yml | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.7 | ||
NewCops: enable | ||
SuggestExtensions: false | ||
Naming/VariableName: | ||
Exclude: | ||
- 'vendor/**/*' | ||
- 'expressir.gemspec' | ||
- 'tmp/**/*' | ||
- 'pkg/**/*' | ||
- 'exe/format-test' | ||
- 'lib/expressir/express/**/*' | ||
- 'lib/expressir/model/**/*' | ||
|
||
- lib/expressir/express/visitor.rb | ||
Layout/LineLength: | ||
Max: 160 | ||
AllCops: | ||
TargetRubyVersion: 2.7 |
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 |
---|---|---|
@@ -1,21 +1,84 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2024-11-19 15:15:51 UTC using RuboCop version 1.68.0. | ||
# on 2024-11-26 21:06:12 UTC using RuboCop version 1.68.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: 1 | ||
# Configuration parameters: AllowedParentClasses. | ||
Lint/MissingSuper: | ||
Exclude: | ||
- 'lib/expressir/model/cache.rb' | ||
|
||
# Offense count: 3 | ||
Lint/ShadowingOuterLocalVariable: | ||
Exclude: | ||
- 'lib/expressir/express/visitor.rb' | ||
|
||
# Offense count: 2 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. | ||
# URISchemes: http, https | ||
Layout/LineLength: | ||
# Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. | ||
Lint/UnusedMethodArgument: | ||
Exclude: | ||
- 'exe/expressir-format-test' | ||
- 'lib/expressir/express/parser.rb' | ||
|
||
# Offense count: 54 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max. | ||
Metrics/AbcSize: | ||
Exclude: | ||
- 'lib/expressir/express/formatter.rb' | ||
- 'lib/expressir/express/hyperlink_formatter.rb' | ||
- 'lib/expressir/express/resolve_references_model_visitor.rb' | ||
- 'lib/expressir/express/visitor.rb' | ||
- 'lib/expressir/model/declarations/function.rb' | ||
- 'lib/expressir/model/declarations/procedure.rb' | ||
- 'lib/expressir/model/declarations/rule.rb' | ||
- 'lib/expressir/model/declarations/schema.rb' | ||
- 'lib/expressir/model/model_element.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. | ||
# AllowedMethods: refine | ||
Metrics/BlockLength: | ||
Max: 36 | ||
Max: 29 | ||
|
||
# Offense count: 40 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, Max. | ||
Metrics/CyclomaticComplexity: | ||
Exclude: | ||
- 'lib/expressir/express/formatter.rb' | ||
- 'lib/expressir/express/visitor.rb' | ||
- 'lib/expressir/model/declarations/function.rb' | ||
- 'lib/expressir/model/declarations/procedure.rb' | ||
- 'lib/expressir/model/declarations/rule.rb' | ||
- 'lib/expressir/model/declarations/schema.rb' | ||
- 'lib/expressir/model/model_element.rb' | ||
|
||
# Offense count: 74 | ||
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. | ||
Metrics/MethodLength: | ||
Max: 135 | ||
|
||
# Offense count: 36 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, Max. | ||
Metrics/PerceivedComplexity: | ||
Exclude: | ||
- 'lib/expressir/express/formatter.rb' | ||
- 'lib/expressir/express/visitor.rb' | ||
- 'lib/expressir/model/declarations/function.rb' | ||
- 'lib/expressir/model/declarations/procedure.rb' | ||
- 'lib/expressir/model/declarations/rule.rb' | ||
- 'lib/expressir/model/declarations/schema.rb' | ||
- 'lib/expressir/model/model_element.rb' | ||
|
||
# Offense count: 5 | ||
Performance/FixedSize: | ||
Exclude: | ||
- 'lib/expressir/express/formatter.rb' | ||
|
||
# Offense count: 1 | ||
Style/MissingRespondToMissing: | ||
Exclude: | ||
- 'lib/expressir/express/visitor.rb' |
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
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
Oops, something went wrong.