Skip to content

Commit

Permalink
feat: Treat *.coffee.md as literate
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Dec 9, 2013
1 parent 55fd04f commit c3477c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/coffeelint.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function(grunt) {
files.forEach(function(file) {
grunt.verbose.writeln('Linting ' + file + '...');

var literate = file.indexOf(".litcoffee") !== -1;
var literate = !!file.match(/\.(litcoffee|coffee\.md)$/i);
var errors = coffeelint.lint(grunt.file.read(file), options, literate);

if (!errors.length) {
Expand Down

0 comments on commit c3477c0

Please sign in to comment.