Accept markdownlint config file
XhmikosR opened this issue · 3 comments
XhmikosR commented
Problem Description
Doesn't accept markdownlint config file.
Code Example
markdownlint: {
all: {
options: {
config: './markdownlint.json'
},
src: [
'src/**/*.md'
]
}
},
I believe this would make things much simpler.
XhmikosR commented
Nevermind, I figured it out. It's just the same as markdownlint, require('foo.json')
sagiegurari commented
I use config: grunt.file.readJSON(rulesFile)
for example:
https://github.com/sagiegurari/js-project-commons/blob/master/lib/grunt/task/markdownlint.js
XhmikosR commented
Yeah, I figured so a couple of minutes later :) It's just that it's unusual for grunt plugins, that is all.