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
33AllCops :
44 NewCops : enable
55
6+ Layout/LineLength :
7+ Enabled : false
8+
69Metrics/ClassLength :
710 Enabled : false
811
12+ Naming/PredicatePrefix :
13+ ForbiddenPrefixes :
14+ - is_
15+
916Style/Documentation :
1017 Enabled : false
1118
@@ -15,10 +22,6 @@ Style/EmptyCaseCondition:
1522Style/GuardClause :
1623 Enabled : false
1724
18- Style/PredicateName :
19- ForbiddenPrefixes :
20- - is_
21-
2225Style/StringLiterals :
2326 EnforcedStyle : double_quotes
2427
@@ -34,9 +37,6 @@ Style/TrailingCommaInArrayLiteral:
3437Style/RedundantPercentQ :
3538 Enabled : false
3639
37- Metrics/LineLength :
38- Enabled : false
39-
4040Metrics/BlockLength :
4141 Exclude :
4242 - qiita-markdown.gemspec
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def empty?
8282 end
8383
8484 def has_only_filename?
85- sections [ 1 ] . nil? && sections [ 0 ] && sections [ 0 ] . include? ( "." )
85+ sections [ 1 ] . nil? && sections [ 0 ] & .include? ( "." )
8686 end
8787
8888 def linguist_language
You can’t perform that action at this time.
0 commit comments