config/default.yml in rubocop-on-rbs-0.2.0 vs config/default.yml in rubocop-on-rbs-0.3.0
- old
+ new
@@ -9,10 +9,14 @@
Lint:
Exclude:
- '**/*.rbs'
+Style:
+ Exclude:
+ - '**/*.rbs'
+
# RBS
RBS:
Enabled: true
Include:
@@ -68,18 +72,29 @@
Enabled: true
## RBS/Lint
RBS/Lint:
+ Enabled: true
+
+RBS/Lint/DuplicateOverload:
Severity: warning
+ Description: 'Checks that there are no repeated overload bodies'
Enabled: true
+RBS/Lint/RedundantOverloadTypeParams:
+ Severity: warning
+ Description: 'Check redundant overload type params'
+ Enabled: true
+
RBS/Lint/Syntax:
+ Severity: fatal
Description: 'Check RBS syntax'
Enabled: true
RBS/Lint/TypeParamsArity:
+ Severity: warning
Description: 'Check type params arity'
Enabled: true
Expects:
# Default expects.
# You can add expects in .rubocop.yml.
@@ -121,14 +136,11 @@
## type alias
array: 1
hash: 2
range: 1
-RBS/Lint/UselessOverloadTypeParams:
- Description: 'Check useless overload type params'
- Enabled: true
-
RBS/Lint/WillSyntaxError:
+ Severity: warning
Description: 'Check RBS will syntax error'
Enabled: true
## RBS/Style