Skip to content

Commit 4ecc722

Browse files
committed
Add markdown linter locally
1 parent 10ab17c commit 4ecc722

4 files changed

Lines changed: 23 additions & 0 deletions

File tree

.mdlrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
style "#{File.dirname(__FILE__)}/md_styles.rb"

Gemfile.lock

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ GEM
1212
ast (2.4.3)
1313
base64 (0.2.0)
1414
bigdecimal (3.1.9)
15+
chef-utils (18.7.6)
16+
concurrent-ruby
17+
concurrent-ruby (1.3.5)
1518
crack (1.0.0)
1619
bigdecimal
1720
rexml
@@ -34,10 +37,25 @@ GEM
3437
json (2.10.2)
3538
jwt (2.10.1)
3639
base64
40+
kramdown (2.5.1)
41+
rexml (>= 3.3.9)
42+
kramdown-parser-gfm (1.1.0)
43+
kramdown (~> 2.0)
3744
language_server-protocol (3.17.0.4)
3845
lefthook (1.11.12)
3946
lint_roller (1.1.0)
4047
logger (1.7.0)
48+
mdl (0.13.0)
49+
kramdown (~> 2.3)
50+
kramdown-parser-gfm (~> 1.1)
51+
mixlib-cli (~> 2.1, >= 2.1.1)
52+
mixlib-config (>= 2.2.1, < 4)
53+
mixlib-shellout
54+
mixlib-cli (2.1.8)
55+
mixlib-config (3.0.27)
56+
tomlrb
57+
mixlib-shellout (3.3.9)
58+
chef-utils
4159
multi_xml (0.7.2)
4260
bigdecimal (~> 3.1)
4361
net-http (0.6.0)
@@ -149,6 +167,7 @@ GEM
149167
lint_roller (~> 1.1)
150168
rubocop-performance (~> 1.25.0)
151169
stringio (3.1.6)
170+
tomlrb (2.0.3)
152171
unicode-display_width (3.1.4)
153172
unicode-emoji (~> 4.0, >= 4.0.4)
154173
unicode-emoji (4.0.4)
@@ -166,6 +185,7 @@ PLATFORMS
166185
DEPENDENCIES
167186
irb
168187
lefthook
188+
mdl
169189
omniauth-github-data-residency!
170190
rack-test
171191
rake (~> 13.0)

md_styles.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude_rule "MD013" # Line length

omniauth-github-data-residency.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Gem::Specification.new do |spec|
4545
spec.add_development_dependency "irb"
4646
spec.add_development_dependency "rake", "~> 13.0"
4747
spec.add_development_dependency "lefthook"
48+
spec.add_development_dependency "mdl"
4849

4950
# For more information and examples about making a new gem, check out our
5051
# guide at: https://bundler.io/guides/creating_gem.html

0 commit comments

Comments
 (0)