rubocop-basic 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +17 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: effe995a10133662bf55d847e239c8aa0efc9f7eb601ab6f2eece8555d7200fa
4
- data.tar.gz: c3d979d02d358ba32066a1fd388c6ebbd8ec369e3a7a417802f54da792b5de06
3
+ metadata.gz: 9120b7716f22dc5d2b9ef99c5471e452d4ddf6aa9f17e28751c373a494fea723
4
+ data.tar.gz: c0de61a7a8b1ad4362cbe79d3ef09e4be1d63acf6771396679ef96e8d09084f5
5
5
  SHA512:
6
- metadata.gz: f110ab61fc01bd943c241a7297337899bb4715214b9153aedbe8d9985efca6af639056a1eeb8ab89438c0a6a0b13f6a7ce66ea5175ff03905a0c2151db7411b7
7
- data.tar.gz: efb95ccefba78ee7eefd65406b1f8290c7982e0277802fcc21c122b847b694d9cc7bcec427677a7a6291adbd746e9a6ee461eeec296f98eca7897dc1b04d18fb
6
+ metadata.gz: eca9480cf2d12cb96cf8102cfb1b2cf8ea8d14364fa67d2d89031eab897216311051856c4f1b0dd015ee11412fbfb838e6789865206e428b89b58176a367c283
7
+ data.tar.gz: 4ae235bd0c1e49bd25db0e65c4f0abbefd9926bffe4dd8fcd8dff15d5c9bdbebcc9373e5875e5de361d871866fe4318f43d3a4747db7e7091d831f3765135012
data/rubocop.yml CHANGED
@@ -1,32 +1,46 @@
1
1
  AllCops:
2
2
  NewCops: enable
3
3
 
4
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutaccessmodifierindentation
5
+ Layout/AccessModifierIndentation:
6
+ EnforcedStyle: outdent
7
+
8
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutarrayalignment
4
9
  Layout/ArgumentAlignment:
5
10
  EnforcedStyle: with_fixed_indentation
6
11
 
12
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutarrayalignment
7
13
  Layout/FirstArrayElementIndentation:
8
14
  EnforcedStyle: consistent
9
15
 
16
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutfirsthashelementindentation
10
17
  Layout/FirstHashElementIndentation:
11
18
  EnforcedStyle: consistent
12
19
 
20
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutindentationconsistency
13
21
  Layout/LineEndStringConcatenationIndentation:
14
22
  EnforcedStyle: indented
15
23
 
24
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutmultilinearrayalignment
16
25
  Layout/MultilineOperationIndentation:
17
26
  EnforcedStyle: indented
18
27
 
28
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutmultilineblocklayout
19
29
  Layout/MultilineMethodCallIndentation:
20
30
  EnforcedStyle: indented
21
31
 
22
- Layout/AccessModifierIndentation:
23
- EnforcedStyle: outdent
24
-
32
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutparameteralignment
25
33
  Layout/ParameterAlignment:
26
34
  EnforcedStyle: with_fixed_indentation
27
35
 
36
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylestringliterals
37
+ Style/StringLiterals:
38
+ EnforcedStyle: double_quotes
39
+
40
+ # https://docs.rubocop.org/rubocop/cops_style.html#styletrailingcommainarrayliteral
28
41
  Style/TrailingCommaInArrayLiteral:
29
42
  EnforcedStyleForMultiline: consistent_comma
30
43
 
44
+ # https://docs.rubocop.org/rubocop/cops_style.html#styletrailingcommainhashliteral
31
45
  Style/TrailingCommaInHashLiteral:
32
46
  EnforcedStyleForMultiline: consistent_comma
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-basic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre
@@ -23,8 +23,8 @@ licenses:
23
23
  metadata:
24
24
  rubygems_mfa_required: 'true'
25
25
  homepage_uri: https://github.com/ksylvest/rubocop-basic
26
- source_code_uri: https://github.com/ksylvest/rubocop-basic/tree/v0.1.0
27
- changelog_uri: https://github.com/ksylvest/rubocop-basic/releases/tag/v0.1.0
26
+ source_code_uri: https://github.com/ksylvest/rubocop-basic/tree/v1.0.0
27
+ changelog_uri: https://github.com/ksylvest/rubocop-basic/releases/tag/v1.0.0
28
28
  documentation_uri: https://github.com/ksylvest/rubocop-basic
29
29
  rdoc_options: []
30
30
  require_paths: