gitlab-styles 6.4.0 → 6.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gitlab-styles.gemspec +1 -0
- data/lib/gitlab/styles/version.rb +1 -1
- data/rubocop-default.yml +2 -0
- data/rubocop-graphql.yml +30 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f15e657637a0d30fed824f3d8312b970b9ee9bebc5a0feb603b83fa884b1705
|
4
|
+
data.tar.gz: fef3baec21ab04501f316d754a02aab77fb4dc816a048f87070d6d1b4a28f74c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9954e550cf2ead877c73939a6f20893be5a584eb2c4f0850ea2cb5c8f4e976f3a20d3f910c0a39072c87e666cba51a8f5d283c56e33e2b2db76b1376f18cab7f
|
7
|
+
data.tar.gz: a54833e11f28072707ca11e21428820d888a8c95f89a5577e2633d324311400eca5d277b93311a405239397ca9ad3abac2a9982fcd5ace63f5a4491af970d513
|
data/gitlab-styles.gemspec
CHANGED
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.add_dependency 'rubocop', '~> 0.91', '>= 0.91.1'
|
26
26
|
spec.add_dependency 'rubocop-gitlab-security', '~> 0.1.1'
|
27
|
+
spec.add_dependency 'rubocop-graphql', '~> 0.10'
|
27
28
|
spec.add_dependency 'rubocop-performance', '~> 1.9.2'
|
28
29
|
spec.add_dependency 'rubocop-rails', '~> 2.9'
|
29
30
|
spec.add_dependency 'rubocop-rspec', '~> 1.44'
|
data/rubocop-default.yml
CHANGED
@@ -4,12 +4,14 @@ require:
|
|
4
4
|
- rubocop-performance
|
5
5
|
- rubocop-rspec
|
6
6
|
- rubocop-rails
|
7
|
+
- rubocop-graphql
|
7
8
|
- ./lib/gitlab/styles/rubocop
|
8
9
|
|
9
10
|
inherit_from:
|
10
11
|
- rubocop-all.yml
|
11
12
|
- rubocop-bundler.yml
|
12
13
|
- rubocop-gemspec.yml
|
14
|
+
- rubocop-graphql.yml
|
13
15
|
- rubocop-layout.yml
|
14
16
|
- rubocop-lint.yml
|
15
17
|
- rubocop-metrics.yml
|
data/rubocop-graphql.yml
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
require:
|
3
|
+
- rubocop-graphql
|
4
|
+
|
5
|
+
# Ensures all arguments have a description
|
6
|
+
# Disabled because our bespoke Graphql/Descriptions cop covers this.
|
7
|
+
GraphQL/ArgumentDescription:
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
# Ensures all fields have a description
|
11
|
+
# Disabled because our bespoke Graphql/Descriptions cop covers this.
|
12
|
+
GraphQL/FieldDescription:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
# Suggests using input type instead of many arguments
|
16
|
+
GraphQL/ExtractInputType:
|
17
|
+
Enabled: false
|
18
|
+
|
19
|
+
# Suggests extracting fields with common prefixes to the separate type
|
20
|
+
GraphQL/ExtractType:
|
21
|
+
Enabled: false
|
22
|
+
|
23
|
+
# Checks that types are defined with class-based API
|
24
|
+
GraphQL/LegacyDsl:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
# Ensures all types have a description
|
28
|
+
# Disabled because our bespoke Graphql/Descriptions cop covers this.
|
29
|
+
GraphQL/ObjectDescription:
|
30
|
+
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -44,6 +44,20 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 0.1.1
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rubocop-graphql
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.10'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.10'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: rubocop-performance
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,6 +200,7 @@ files:
|
|
186
200
|
- rubocop-code_reuse.yml
|
187
201
|
- rubocop-default.yml
|
188
202
|
- rubocop-gemspec.yml
|
203
|
+
- rubocop-graphql.yml
|
189
204
|
- rubocop-layout.yml
|
190
205
|
- rubocop-lint.yml
|
191
206
|
- rubocop-metrics.yml
|