arcadia_cops 1.0.7 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/config/enabled.yml +66 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b1614099aa0df15348805de8917fb86fcaf67ef31556eb7038f72e9f4596c411
|
4
|
+
data.tar.gz: 628d69cdfea2abefecb780d3fb697090eed548b9c71608d5cf151958aa07179d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab01756fc9dd392ad4efbe78c28a4deb2be36acd6676ddc0c19b734a79dd646ff581d3b9349e85b119a0891febfbc385331a9961499e9bb4505c11d529eeb445
|
7
|
+
data.tar.gz: 931facb6d8269291a3650e3241bc699d75b83acc7e1285880768ef87b301ab88202e37b1826f77777677265c84aa7ff704dd26ec0a92a118aa428cbdf0e65a61
|
data/config/enabled.yml
CHANGED
@@ -552,3 +552,69 @@ Lint/UselessSetterCall:
|
|
552
552
|
|
553
553
|
Lint/Void:
|
554
554
|
Description: 'Possible use of operator/literal/variable in void context.'
|
555
|
+
|
556
|
+
Layout/CommentIndentation:
|
557
|
+
Description: Indentation of comments.
|
558
|
+
|
559
|
+
Layout/EmptyLinesAroundArguments:
|
560
|
+
Description: Keeps track of empty lines around method arguments.
|
561
|
+
|
562
|
+
Layout/EmptyLinesAroundBeginBody:
|
563
|
+
Description: Keeps track of empty lines around begin-end bodies.
|
564
|
+
StyleGuide: "#empty-lines-around-bodies"
|
565
|
+
|
566
|
+
Layout/FirstHashElementLineBreak:
|
567
|
+
Description: Checks for a line break before the first element in a multi-line hash.
|
568
|
+
|
569
|
+
Layout/FirstArrayElementLineBreak:
|
570
|
+
Description: Checks for a line break before the first element in a multi-line array.
|
571
|
+
|
572
|
+
Layout/IndentationConsistency:
|
573
|
+
Description: Keep indentation straight.
|
574
|
+
StyleGuide: "#spaces-indentation"
|
575
|
+
EnforcedStyle: rails
|
576
|
+
|
577
|
+
Lint/Syntax:
|
578
|
+
Description: Checks syntax error
|
579
|
+
|
580
|
+
Lint/UnneededRequireStatement:
|
581
|
+
Description: Checks for unnecessary `require` statement.
|
582
|
+
|
583
|
+
Naming/AsciiIdentifiers:
|
584
|
+
Description: Use only ascii symbols in identifiers.
|
585
|
+
StyleGuide: "#english-identifiers"
|
586
|
+
|
587
|
+
Naming/ClassAndModuleCamelCase:
|
588
|
+
Description: Use CamelCase for classes and modules.
|
589
|
+
StyleGuide: "#camelcase-classes"
|
590
|
+
|
591
|
+
Naming/MethodName:
|
592
|
+
Description: Use the configured style when naming methods.
|
593
|
+
StyleGuide: "#snake-case-symbols-methods-vars"
|
594
|
+
EnforcedStyle: snake_case
|
595
|
+
|
596
|
+
Naming/VariableName:
|
597
|
+
Description: Use the configured style when naming variables.
|
598
|
+
StyleGuide: "#snake-case-symbols-methods-vars"
|
599
|
+
EnforcedStyle: snake_case
|
600
|
+
|
601
|
+
Style/ArrayJoin:
|
602
|
+
Description: Use Array#join instead of Array#*.
|
603
|
+
StyleGuide: "#array-join"
|
604
|
+
|
605
|
+
Style/BlockComments:
|
606
|
+
Description: Do not use block comments.
|
607
|
+
StyleGuide: "#no-block-comments"
|
608
|
+
|
609
|
+
Style/OneLineConditional:
|
610
|
+
Description: Favor the ternary operator(?:) over if/then/else/end constructs.
|
611
|
+
StyleGuide: "#ternary-operator"
|
612
|
+
|
613
|
+
Style/SymbolLiteral:
|
614
|
+
Description: Use plain symbols instead of string symbols when possible.
|
615
|
+
|
616
|
+
Style/TrailingMethodEndStatement:
|
617
|
+
Description: Checks for trailing end statement on line of method body.
|
618
|
+
|
619
|
+
Style/TrailingBodyOnModule:
|
620
|
+
Description: Module body goes below module statement.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arcadia_cops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- justin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.7.7
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Arcadia Power Style Cops
|