Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1e166119
Commit
1e166119
authored
Oct 21, 2021
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let Danger recognize changes within `.rubocop_todo/`
parent
22927398
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
spec/tooling/danger/project_helper_spec.rb
spec/tooling/danger/project_helper_spec.rb
+1
-1
tooling/danger/project_helper.rb
tooling/danger/project_helper.rb
+2
-1
No files found.
spec/tooling/danger/project_helper_spec.rb
View file @
1e166119
...
...
@@ -86,7 +86,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do
'rubocop/foo'
|
[
:backend
]
'.rubocop.yml'
|
[
:backend
]
'.rubocop_todo.yml'
|
[
:backend
]
'.rubocop_
manual_todo.yml'
|
[
:backend
]
'.rubocop_
todo/cop/name.yml'
|
[
:backend
]
'spec/foo'
|
[
:backend
]
'spec/foo/bar'
|
[
:backend
]
...
...
tooling/danger/project_helper.rb
View file @
1e166119
...
...
@@ -151,7 +151,8 @@ module Tooling
%r{
\A
((ee|jh)/)?vendor/}
=>
:backend
,
%r{
\A
(Gemfile|Gemfile.lock|Rakefile)
\z
}
=>
:backend
,
%r{
\A
[A-Z_]+_VERSION
\z
}
=>
:backend
,
%r{
\A\.
rubocop((_manual)?_todo)?
\.
yml
\z
}
=>
:backend
,
%r{
\A\.
rubocop(_todo)?
\.
yml
\z
}
=>
:backend
,
%r{
\A\.
rubocop_todo/.*
\.
yml
\z
}
=>
:backend
,
%r{
\A
file_hooks/}
=>
:backend
,
%r{
\A
((ee|jh)/)?qa/}
=>
:qa
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment