File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
lib/qiita/markdown/filters Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,16 @@ inherit_from: .rubocop_todo.yml
3
3
AllCops :
4
4
NewCops : enable
5
5
6
+ Layout/LineLength :
7
+ Enabled : false
8
+
6
9
Metrics/ClassLength :
7
10
Enabled : false
8
11
12
+ Naming/PredicatePrefix :
13
+ ForbiddenPrefixes :
14
+ - is_
15
+
9
16
Style/Documentation :
10
17
Enabled : false
11
18
@@ -15,10 +22,6 @@ Style/EmptyCaseCondition:
15
22
Style/GuardClause :
16
23
Enabled : false
17
24
18
- Style/PredicateName :
19
- ForbiddenPrefixes :
20
- - is_
21
-
22
25
Style/StringLiterals :
23
26
EnforcedStyle : double_quotes
24
27
@@ -34,9 +37,6 @@ Style/TrailingCommaInArrayLiteral:
34
37
Style/RedundantPercentQ :
35
38
Enabled : false
36
39
37
- Metrics/LineLength :
38
- Enabled : false
39
-
40
40
Metrics/BlockLength :
41
41
Exclude :
42
42
- qiita-markdown.gemspec
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def empty?
82
82
end
83
83
84
84
def has_only_filename?
85
- sections [ 1 ] . nil? && sections [ 0 ] && sections [ 0 ] . include? ( "." )
85
+ sections [ 1 ] . nil? && sections [ 0 ] & .include? ( "." )
86
86
end
87
87
88
88
def linguist_language
You can’t perform that action at this time.
0 commit comments