Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed May 11, 2020
1 parent ad6d283 commit 658352e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# grunt-markdownlint

[![NPM Version](http://img.shields.io/npm/v/grunt-markdownlint.svg?style=flat)](https://www.npmjs.org/package/grunt-markdownlint) [![Build Status](https://travis-ci.org/sagiegurari/grunt-markdownlint.svg)](http://travis-ci.org/sagiegurari/grunt-markdownlint) [![Coverage Status](https://coveralls.io/repos/sagiegurari/grunt-markdownlint/badge.svg)](https://coveralls.io/r/sagiegurari/grunt-markdownlint) [![Known Vulnerabilities](https://snyk.io/test/github/sagiegurari/grunt-markdownlint/badge.svg)](https://snyk.io/test/github/sagiegurari/grunt-markdownlint) [![Inline docs](http://inch-ci.org/github/sagiegurari/grunt-markdownlint.svg?branch=master)](http://inch-ci.org/github/sagiegurari/grunt-markdownlint)<br>
[![NPM Version](http://img.shields.io/npm/v/grunt-markdownlint.svg?style=flat)](https://www.npmjs.org/package/grunt-markdownlint) [![CI](https://github.com/sagiegurari/grunt-markdownlint/workflows/CI/badge.svg?branch=master)](https://github.com/sagiegurari/grunt-markdownlint/actions) [![Coverage Status](https://coveralls.io/repos/sagiegurari/grunt-markdownlint/badge.svg)](https://coveralls.io/r/sagiegurari/grunt-markdownlint) [![Known Vulnerabilities](https://snyk.io/test/github/sagiegurari/grunt-markdownlint/badge.svg)](https://snyk.io/test/github/sagiegurari/grunt-markdownlint) [![Inline docs](http://inch-ci.org/github/sagiegurari/grunt-markdownlint.svg?branch=master)](http://inch-ci.org/github/sagiegurari/grunt-markdownlint)<br>
[![License](https://img.shields.io/npm/l/grunt-markdownlint.svg?style=flat)](https://github.com/sagiegurari/grunt-markdownlint/blob/master/LICENSE) [![Total Downloads](https://img.shields.io/npm/dt/grunt-markdownlint.svg?style=flat)](https://www.npmjs.org/package/grunt-markdownlint) [![Dependency Status](https://david-dm.org/sagiegurari/grunt-markdownlint.svg)](https://david-dm.org/sagiegurari/grunt-markdownlint) [![devDependency Status](https://david-dm.org/sagiegurari/grunt-markdownlint/dev-status.svg)](https://david-dm.org/sagiegurari/grunt-markdownlint?type=dev)

> A grunt task for markdown style checker and lint tool.
Expand Down Expand Up @@ -84,6 +84,7 @@ See [contributing guide](.github/CONTRIBUTING.md)

| Date | Version | Description |
| ----------- | ------- | ----------- |
| 2020-05-11 | v3.0.0 | Migrate to github actions and upgrade minimal node version |
| 2020-04-13 | v2.10.0 | Upgrade markdownlint version |
| 2018-06-07 | v2.0.0 | Upgrade markdownlint and minimal node version |
| 2018-05-29 | v1.1.6 | Upgrade markdownlint version |
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
| Date | Version | Description |
| ----------- | ------- | ----------- |
| 2020-05-11 | v3.0.0 | Migrate to github actions and upgrade minimal node version |
| 2020-04-13 | v2.10.0 | Upgrade markdownlint version |
| 2018-06-07 | v2.0.0 | Upgrade markdownlint and minimal node version |
| 2018-05-29 | v1.1.6 | Upgrade markdownlint version |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grunt-markdownlint",
"version": "2.10.0",
"version": "3.0.0",
"description": "A grunt task for markdown style checker and lint tool.",
"author": {
"name": "Sagie Gur-Ari",
Expand Down
17 changes: 9 additions & 8 deletions test/spec/grunt-markdownlint-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ describe('Grunt Markdownlint', function () {
options() {
return {};
},
async() {
return function (valid) {
assert.isTrue(valid);
assert.isTrue(okCalled);

done();
};
},
log: {
ok() {
okCalled = true;
Expand All @@ -40,6 +32,15 @@ describe('Grunt Markdownlint', function () {
}
};

grunt.async = function () {
return function doneCallback(valid) {
assert.isTrue(valid);
assert.isTrue(okCalled);

done();
};
};

const taskFunction = task(grunt);

assert.isTrue(registerCalled);
Expand Down

0 comments on commit 658352e

Please sign in to comment.