Skip to content

Commit c0fe44a

Browse files
authored
Rubocop: Fix Style/RbsInline/RequireRbsInlineComment (#673)
1 parent f3c49d8 commit c0fe44a

42 files changed

Lines changed: 41 additions & 7 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.rubocop_todo.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212
Style/RbsInline/MissingTypeAnnotation:
1313
Enabled: false
1414

15-
# Offense count: 41
16-
# This cop supports safe autocorrection (--autocorrect).
17-
# Configuration parameters: EnforcedStyle.
18-
# SupportedStyles: always, never
19-
Style/RbsInline/RequireRbsInlineComment:
20-
Enabled: false
21-
2215
# Offense count: 193
2316
Style/RbsInline/UntypedInstanceVariable:
2417
Enabled: false

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
source 'https://rubygems.org'
45

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
require 'bundler/gem_tasks'
45
require 'rake/testtask'

Steepfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
D = Steep::Diagnostic
45

gruff.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
lib = File.expand_path('lib')
45
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

init.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
# For Rails
45
require 'gruff'

lib/gruff/mini/bar.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
#
45
# Makes a small bar graph suitable for display at 200px or even smaller.

lib/gruff/mini/legend.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
# A module to handle the small legend.
45
# @private

lib/gruff/mini/pie.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
#
45
# Makes a small pie graph suitable for display at 200px or even smaller.

lib/gruff/mini/side_bar.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
# rbs_inline: enabled
23

34
#
45
# Makes a small side bar graph suitable for display at 200px or even smaller.

0 commit comments

Comments
 (0)