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
a1111bf8
Commit
a1111bf8
authored
Jul 02, 2021
by
Matthias Käppler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expand on where to add new Cops
parent
a7b57f92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
doc/development/contributing/style_guides.md
doc/development/contributing/style_guides.md
+4
-0
No files found.
doc/development/contributing/style_guides.md
View file @
a1111bf8
...
...
@@ -152,8 +152,12 @@ reduces the aforementioned [bike-shedding](https://en.wiktionary.org/wiki/bikesh
To that end, we encourage creation of new RuboCop rules in the codebase.
We currently maintain Cops across several Ruby code bases, and not all of them are
specific to the GitLab application.
When creating a new cop that could be applied to multiple applications, we encourage you
to add it to our
[
GitLab Styles
](
https://gitlab.com/gitlab-org/gitlab-styles
)
gem.
If the Cop targets rules that only apply to the main GitLab application,
it should be added to
[
GitLab
](
https://gitlab.com/gitlab-org/gitlab
)
instead.
### Resolving RuboCop exceptions
...
...
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