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

Introduce rubocop-on-rbs #608

Merged
merged 15 commits into from
Dec 24, 2024
Prev Previous commit
Next Next commit
Expand cops
  • Loading branch information
ksss committed Jun 24, 2024
commit d720bb8a2b382dc861d29042b8a4212d4e171b3d
52 changes: 49 additions & 3 deletions gems/activesupport/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,55 @@
AllCops:
NewCops: disable

RBS/Layout:
RBS/Layout/CommentIndentation:
Enabled: true
RBS/Lint:
RBS/Layout/EmptyLinesAroundOverloads:
Enabled: true
RBS/Style:
RBS/Layout/EndAlignment:
Enabled: true
RBS/Layout/ExtraSpacing:
Enabled: true
RBS/Layout/IndentationWidth:
Enabled: true
RBS/Layout/OverloadIndentation:
Enabled: true
RBS/Layout/SpaceAroundArrow:
Enabled: true
RBS/Layout/SpaceAroundBraces:
Enabled: true
RBS/Layout/SpaceAroundOperators:
Enabled: true
RBS/Layout/SpaceBeforeColon:
Enabled: true
RBS/Layout/SpaceBeforeOverload:
Enabled: true
RBS/Layout/TrailingWhitespace:
Enabled: true

RBS/Lint/DuplicateOverload:
Enabled: true
RBS/Lint/LiteralIntersection:
Enabled: true
RBS/Lint/Syntax:
Enabled: true
RBS/Lint/UselessOverloadTypeParams:
Enabled: true
RBS/Lint/WillSyntaxError:
Enabled: true

RBS/Style/BlockReturnBoolish:
Enabled: false
RBS/Style/ClassicType:
Enabled: false
RBS/Style/DuplicatedType:
Enabled: false
RBS/Style/EmptyArgument:
Enabled: false
RBS/Style/InitializeReturnType:
Enabled: false
RBS/Style/OptionalNil:
Enabled: false
RBS/Style/RedundantParentheses:
Enabled: false
RBS/Style/TrueFalse:
Enabled: false