File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -861,7 +861,7 @@ jslint:
861
861
jslint-ci :
862
862
@echo " Running JS linter..."
863
863
$(NODE ) tools/jslint.js $(PARALLEL_ARGS ) -f tap -o test-eslint.tap \
864
- benchmark lib test tools
864
+ benchmark doc lib test tools
865
865
866
866
CPPLINT_EXCLUDE ?=
867
867
CPPLINT_EXCLUDE += src/node_root_certs.h
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
const rulesDirs = [ 'tools/eslint-rules' ] ;
4
+ const extensions = [ '.js' , '.md' ] ;
4
5
// This is the maximum number of files to be linted per worker at any given time
5
6
const maxWorkload = 40 ;
6
7
@@ -14,7 +15,8 @@ const glob = require('./eslint/node_modules/glob');
14
15
15
16
const cwd = process . cwd ( ) ;
16
17
const cliOptions = {
17
- rulePaths : rulesDirs
18
+ rulePaths : rulesDirs ,
19
+ extensions : extensions ,
18
20
} ;
19
21
20
22
// Check if we should fix errors that are fixable
Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ goto exit
428
428
429
429
:jslint-ci
430
430
echo running jslint-ci
431
- %config% \node tools\jslint.js -J -f tap -o test-eslint.tap benchmark lib test tools
431
+ %config% \node tools\jslint.js -J -f tap -o test-eslint.tap benchmark doc lib test tools
432
432
goto exit
433
433
434
434
:no-lint
You can’t perform that action at this time.
0 commit comments