-
Notifications
You must be signed in to change notification settings - Fork 1
Changed footer to also show SLA #199
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
Changes from all commits
87f0d2c
26a8bbc
24bba72
ad3a933
b9d2675
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Disable specific cops for the entire project | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AllCops: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Exclude: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - 'db/schema.rb' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - 'vendor/**/*' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - 'node_modules/**/*' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Ignore line length warnings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layout/LineLength: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enabled: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Ignore warnings about blocks being too long | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Metrics/BlockLength: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enabled: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Ignore warnings about methods being too long | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Metrics/MethodLength: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enabled: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Ignore warnings about assignment, branch, and condition size | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Metrics/AbcSize: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enabled: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Ignore warnings about classes being too long | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Metrics/ClassLength: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enabled: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+8
to
+26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Re-enable metrics cops instead of blanket disabling them Turning off -Layout/LineLength:
- Enabled: false
+Layout/LineLength:
+ Max: 120 # or any project-agreed width…repeat for the other cops with This keeps CI protection while giving the team flexibility. 📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.37.1)[error] 26-26: no new line character at the end of file (new-line-at-end-of-file) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Running
rubocop -Ain CI silently rewrites coderubocop -Aperforms in-place auto-corrections.Because the CI workspace is thrown away, those changes are never committed, yet the step can pass while masking offences that needed manual review.
Safer pattern:
Developers can run
rubocop -Alocally; CI should only fail or pass.📝 Committable suggestion
🧰 Tools
🪛 YAMLlint (1.37.1)
[error] 67-67: trailing spaces
(trailing-spaces)
🤖 Prompt for AI Agents