rubocop-sorbet 0.3.7 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +2 -0
- data/.github/probots.yml +1 -1
- data/.github/stale.yml +20 -0
- data/.gitignore +0 -2
- data/.rspec +3 -0
- data/.rubocop.yml +2 -12
- data/.travis.yml +3 -1
- data/Gemfile +6 -7
- data/Gemfile.lock +26 -41
- data/README.md +64 -6
- data/Rakefile +34 -5
- data/config/default.yml +122 -2
- data/lib/rubocop-sorbet.rb +9 -1
- data/lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb +58 -0
- data/lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb +1 -1
- data/lib/rubocop/cop/sorbet/signatures/parameters_ordering_in_signature.rb +14 -6
- data/lib/rubocop/cop/sorbet_cops.rb +22 -0
- data/lib/rubocop/sorbet.rb +15 -0
- data/lib/rubocop/sorbet/inject.rb +20 -0
- data/lib/rubocop/sorbet/version.rb +6 -0
- data/manual/cops.md +29 -0
- data/manual/cops_sorbet.md +340 -0
- data/rubocop-sorbet.gemspec +18 -18
- data/tasks/cops_documentation.rake +317 -0
- metadata +23 -12
- data/lib/rubocop_sorbet.rb +0 -22
data/lib/rubocop_sorbet.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative 'rubocop/cop/sorbet/binding_constants_without_type_alias'
|
4
|
-
require_relative 'rubocop/cop/sorbet/constants_from_strings'
|
5
|
-
require_relative 'rubocop/cop/sorbet/forbid_superclass_const_literal'
|
6
|
-
require_relative 'rubocop/cop/sorbet/forbid_include_const_literal'
|
7
|
-
|
8
|
-
require_relative 'rubocop/cop/sorbet/signatures/allow_incompatible_override'
|
9
|
-
require_relative 'rubocop/cop/sorbet/signatures/checked_true_in_signature'
|
10
|
-
require_relative 'rubocop/cop/sorbet/signatures/keyword_argument_ordering'
|
11
|
-
require_relative 'rubocop/cop/sorbet/signatures/parameters_ordering_in_signature'
|
12
|
-
require_relative 'rubocop/cop/sorbet/signatures/signature_build_order'
|
13
|
-
require_relative 'rubocop/cop/sorbet/signatures/enforce_signatures'
|
14
|
-
|
15
|
-
require_relative 'rubocop/cop/sorbet/sigils/valid_sigil'
|
16
|
-
require_relative 'rubocop/cop/sorbet/sigils/has_sigil'
|
17
|
-
require_relative 'rubocop/cop/sorbet/sigils/ignore_sigil'
|
18
|
-
require_relative 'rubocop/cop/sorbet/sigils/false_sigil'
|
19
|
-
require_relative 'rubocop/cop/sorbet/sigils/true_sigil'
|
20
|
-
require_relative 'rubocop/cop/sorbet/sigils/strict_sigil'
|
21
|
-
require_relative 'rubocop/cop/sorbet/sigils/strong_sigil'
|
22
|
-
require_relative 'rubocop/cop/sorbet/sigils/enforce_sigil_order'
|