Skip to content

Commit 38c455f

Browse files
committed
chore: add standards tools since Node.js 12.14.0 upgrade
1 parent 47e5292 commit 38c455f

File tree

6 files changed

+3051
-468
lines changed

6 files changed

+3051
-468
lines changed

.markdownlint.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "./node_modules/@silvermine/standardization/.markdownlint.json"
3+
}

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ before_install: npm i -g npm@6.13.4
1111
script:
1212
- node --version
1313
- npm --version
14+
- commitlint-travis
1415
- grunt standards
1516
- npm test
1617

Gruntfile.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,21 @@ module.exports = function(grunt) {
1818
target: config.js.all,
1919
},
2020

21+
markdownlint: {
22+
all: {
23+
src: [ 'README.md' ],
24+
options: {
25+
config: grunt.file.readJSON('./node_modules/@silvermine/standardization/.markdownlint.json'),
26+
},
27+
},
28+
},
29+
2130
});
2231

2332
grunt.loadNpmTasks('grunt-eslint');
33+
grunt.loadNpmTasks('grunt-markdownlint');
2434

25-
grunt.registerTask('standards', [ 'eslint' ]);
35+
grunt.registerTask('standards', [ 'eslint', 'markdownlint' ]);
2636
grunt.registerTask('default', [ 'standards' ]);
2737

2838
};

commitlint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: [ '@silvermine/standardization/commitlint.js' ],
5+
};

0 commit comments

Comments
 (0)