rubocop-basic 0.1.0 → 0.2.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: f4ddd966747028f52ea382395a8a2101ffdd21ede3e2b10346758ddd0d145a4f
4
+ data.tar.gz: c4f111dba6e9d140789b4b2d4d9ede806f56f1a2528918ccef1dd58fb8638158
5
5
  SHA512:
6
- metadata.gz: f110ab61fc01bd943c241a7297337899bb4715214b9153aedbe8d9985efca6af639056a1eeb8ab89438c0a6a0b13f6a7ce66ea5175ff03905a0c2151db7411b7
7
- data.tar.gz: efb95ccefba78ee7eefd65406b1f8290c7982e0277802fcc21c122b847b694d9cc7bcec427677a7a6291adbd746e9a6ee461eeec296f98eca7897dc1b04d18fb
6
+ metadata.gz: a0d0495ceb8767669efcef7f84b325c8e7c996dc742047d43ba0bc267acce33014a2564f0cddeb26ef09ea2dba5315264bad3168bed20186f294f845c3ee1ee2
7
+ data.tar.gz: bb0ea501f2c102aa115fd2b8bd9e0a9f58388964f98903b10040f933fe343140072f104f4654a3027c104fb060c76ee93670011b15dbd26e662fadf6b21147b4
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: 0.2.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/v0.2.0
27
+ changelog_uri: https://github.com/ksylvest/rubocop-basic/releases/tag/v0.2.0
28
28
  documentation_uri: https://github.com/ksylvest/rubocop-basic
29
29
  rdoc_options: []
30
30
  require_paths: