Project

General

Profile

Bug #16166

rubocop raises offences for files under node_modules/

Added by Dominic Cleal almost 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

rubocop is scanning the node_modules directory, which contains a bit of Ruby code raising a style offence:

Offenses:

node_modules/jquery-ujs/test/server.rb:57:25: C: Avoid using {...} for multi-line blocks.
  send(method, '/echo') {

Associated revisions

Revision bdd9d608 (diff)
Added by Dominic Cleal almost 4 years ago

fixes #16166 - exclude node_modules/ directory from rubocop

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3743 added

#2 Updated by Dominic Cleal almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 160

Also available in: Atom PDF