Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pronto raises cop errors #88

Open
CoderMiguel opened this issue Dec 15, 2023 · 0 comments
Open

Pronto raises cop errors #88

CoderMiguel opened this issue Dec 15, 2023 · 0 comments

Comments

@CoderMiguel
Copy link

CoderMiguel commented Dec 15, 2023

I am experiencing rubocop warning while running pronto that are not reproducible when running rubocop directly.

The only issue or mention of the issue that I am seeing is issue: #76

I have updated rubocop and pronto / pronto-rubocop

  • rubocop (1.59.0)
  • pronto (0.11.2)
  • pronto-rubocop (0.11.5)
  • ruby 3.1.3 (other gems are limiting me from using 3.1.4 atm)

any thoughts on how to address this or something I can do to help?

a tallied list of the cops that are throwing these 78 errors:
{"Lint/MissingCopEnableDirective"=>11,
"Lint/RedundantCopEnableDirective"=>12,
"Naming/AsciiIdentifiers"=>1,
"Style/IfUnlessModifier"=>28,
"Metrics/MethodLength"=>4,
"Metrics/AbcSize"=>4,
"Style/MultilineIfModifier"=>1,
"Layout/EmptyLineAfterGuardClause"=>1,
"Lint/UselessRescue"=>1,
"Style/RescueStandardError"=>2,
"Layout/CommentIndentation"=>1,
"Lint/MixedRegexpCaptureTypes"=>2,
"Layout/MultilineMethodCallIndentation"=>8,
"Metrics/ParameterLists"=>2}

of the files that are effected 2 of them are trigger 39 of these instances and both of them yield no errors when running rubocop -d path_to/file.rb

For /path_to/ProjectName: configuration from /path_to/.rubocop.yml
Default configuration from /path_to/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rubocop-1.57.2/config/default.yml
Use parallel by default.
Skipping parallel inspection: only a single file needs inspection
Inspecting 1 file
Scanning /path_to/file.rb
.

1 file inspected, no offenses detected
Finished in 0.14713699975982308 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant