File tree Expand file tree Collapse file tree 4 files changed +39
-0
lines changed
Expand file tree Collapse file tree 4 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ node_modules
Original file line number Diff line number Diff line change 1+ language : node_js
2+ node_js :
3+ - " node"
Original file line number Diff line number Diff line change 1+ var markdownlint = require ( "markdownlint" ) ;
2+ var glob = require ( "glob" ) ;
3+
4+ var options = {
5+ files : glob . sync ( "**/*.md" ) ,
6+ config : {
7+ MD013 : false // Line length
8+ }
9+ } ;
10+
11+ var result = markdownlint . sync ( options ) ;
12+ console . log ( result . toString ( ) ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " typescript-handbook" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " The TypeScript Handbook is a comprehensive guide to the TypeScript language" ,
5+ "main" : " none" ,
6+ "scripts" : {
7+ "test" : " node lint.js"
8+ },
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " git+https://github.com/weswigham/TypeScript-Handbook.git"
12+ },
13+ "author" : " " ,
14+ "license" : " Apache-2.0" ,
15+ "bugs" : {
16+ "url" : " https://github.com/weswigham/TypeScript-Handbook/issues"
17+ },
18+ "homepage" : " https://github.com/weswigham/TypeScript-Handbook#readme" ,
19+ "devDependencies" : {
20+ "glob" : " ^5.0.15" ,
21+ "markdownlint" : " 0.0.8"
22+ }
23+ }
You can’t perform that action at this time.
0 commit comments