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

Enable Rubocop HTTP status rules #23717

Merged
merged 4 commits into from
Feb 20, 2023
Merged

Conversation

nschonni
Copy link
Contributor

Enabled the fault rules, which default to sybmolic style, then overrode back to numberic since it seemed more widely used.

@nschonni nschonni marked this pull request as draft February 19, 2023 05:57
@nschonni nschonni marked this pull request as ready for review February 19, 2023 21:54
@nschonni nschonni force-pushed the rubocop-http-rules branch 2 times, most recently from 98a3d3b to 7fc23c7 Compare February 19, 2023 22:14
@ykzts ykzts merged commit aef0051 into mastodon:main Feb 20, 2023
@nschonni nschonni deleted the rubocop-http-rules branch February 20, 2023 02:17
Lamparter added a commit to RiversideValley/Plaza that referenced this pull request Feb 21, 2023
* Autofix Rubocop Style/EmptyMethod (mastodon#23732)

* Autofix Rubocop Rails/RedundantForeignKey (mastodon#23731)

* Autofix Rubocop Rails/Pluck (mastodon#23730)

* Autofix Rubocop RSpec/ReturnFromStub (mastodon#23724)

* Enable Rubocop RSpec/NotToNot (mastodon#23723)

* Autofix Rubocop Lint/UnusedBlockArgument (mastodon#23712)

* Autofix Rubocop RSpec/EmptyLineAfterSubject (mastodon#23719)

* Enable Rubocop HTTP status rules (mastodon#23717)

* Autofix Rubocops RSpec/ScatteredLet (mastodon#23725)

* Autofix Rubocop Style/ExplicitBlockArgument (mastodon#23704)

* Rename JSX files with proper `.jsx` extension (mastodon#23733)

* Autofix Rubocop Rails/EnumHash (mastodon#23737)

* Autofix Rubocop RSpec/ImplicitSubject (mastodon#23721)

* Enable Rubocop RSpec/ExpectActual (mastodon#23720)

* Autofix Rubocop RSpec/LeadingSubject (mastodon#23670)

* Audofix Rubocop Style/WordArray (mastodon#23739)

* Autofix Rubocop RSpec/BeEq (mastodon#23740)

* Autofix Rubocop Style/UnpackFirst (mastodon#23741)

* Autofix Rubocop remaining Layout rules (mastodon#23679)

* Fix Markdown files with Prettier and check in CI (mastodon#21972)

* Autofix Rubocop Style/FormatString (mastodon#23743)

* Autofix Rubocop Style/SymbolProc (mastodon#23742)

* Make larger part of status clickable (mastodon#23621)

* Delete CHANGELOG.md

* Delete CONTRIBUTING.md

* Delete compose_form.jsx

* Create compose_form.jsx

---------

Co-authored-by: Nick Schonning <[email protected]>
Co-authored-by: Renaud Chaput <[email protected]>
Co-authored-by: Christian Schmidt <[email protected]>
Lamparter added a commit to RiversideValley/Plaza that referenced this pull request Feb 21, 2023
* Autofix Rubocop Style/EmptyMethod (mastodon#23732)

* Autofix Rubocop Rails/RedundantForeignKey (mastodon#23731)

* Autofix Rubocop Rails/Pluck (mastodon#23730)

* Autofix Rubocop RSpec/ReturnFromStub (mastodon#23724)

* Enable Rubocop RSpec/NotToNot (mastodon#23723)

* Autofix Rubocop Lint/UnusedBlockArgument (mastodon#23712)

* Autofix Rubocop RSpec/EmptyLineAfterSubject (mastodon#23719)

* Enable Rubocop HTTP status rules (mastodon#23717)

* Autofix Rubocops RSpec/ScatteredLet (mastodon#23725)

* Autofix Rubocop Style/ExplicitBlockArgument (mastodon#23704)

* Rename JSX files with proper `.jsx` extension (mastodon#23733)

* Autofix Rubocop Rails/EnumHash (mastodon#23737)

* Autofix Rubocop RSpec/ImplicitSubject (mastodon#23721)

* Enable Rubocop RSpec/ExpectActual (mastodon#23720)

* Autofix Rubocop RSpec/LeadingSubject (mastodon#23670)

* Audofix Rubocop Style/WordArray (mastodon#23739)

* Autofix Rubocop RSpec/BeEq (mastodon#23740)

* Autofix Rubocop Style/UnpackFirst (mastodon#23741)

* Autofix Rubocop remaining Layout rules (mastodon#23679)

* Fix Markdown files with Prettier and check in CI (mastodon#21972)

* Autofix Rubocop Style/FormatString (mastodon#23743)

* Autofix Rubocop Style/SymbolProc (mastodon#23742)

* Make larger part of status clickable (mastodon#23621)

* Autofix Rubocop Style/RescueStandardError (mastodon#23745)

* Update rebase needed job settings (mastodon#23746)

* Change compose form checkbox to native input with `appearance: none` (mastodon#22949)

* Autofix Rubocop Rails/WhereEquals (mastodon#23759)

* Autofix Rubocop Security/IoMethods (mastodon#23757)

* Autofix Rubocop Rails/FindById (mastodon#23762)

* Add `lang` tag to native language names in language picker (mastodon#23749)

* Bump capistrano from 3.17.1 to 3.17.2 (mastodon#23775)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump sass from 1.58.2 to 1.58.3 (mastodon#23772)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump blurhash from 2.0.4 to 2.0.5 (mastodon#23771)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump stylelint from 15.1.0 to 15.2.0 (mastodon#23770)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix sidebar cut-off on small screens in admin UI (mastodon#23764)

* Bump devise from 4.8.1 to 4.9.0 (mastodon#23691)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/runtime from 7.20.13 to 7.21.0 (mastodon#23773)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/core from 7.20.12 to 7.21.0 (mastodon#23767)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/plugin-transform-runtime from 7.19.6 to 7.21.0 (mastodon#23774)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/plugin-transform-react-inline-elements from 7.18.6 to 7.21.0 (mastodon#23766)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/plugin-proposal-decorators from 7.20.13 to 7.21.0 (mastodon#23769)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Delete CHANGELOG.md

* Delete CONTRIBUTING.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Nick Schonning <[email protected]>
Co-authored-by: Renaud Chaput <[email protected]>
Co-authored-by: Christian Schmidt <[email protected]>
Co-authored-by: Claire <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Botao Wang <[email protected]>
btrd pushed a commit to btrd/mastodon that referenced this pull request Feb 22, 2023
skerit pushed a commit to 11ways/mastodon that referenced this pull request Jul 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants