File tree 3 files changed +10
-9
lines changed
3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
root : true
2
- extends : standard
2
+ extends :
3
+ - standard
4
+ - plugin:markdown/recommended
5
+ plugins :
6
+ - markdown
7
+ overrides :
8
+ - files : ' **/*.md'
9
+ processor : ' markdown/markdown'
Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ Each type in the `types` array can be one of the following:
52
52
53
53
Some examples to illustrate the inputs and returned value:
54
54
55
- <!-- eslint-disable no-undef -->
56
-
57
55
``` js
58
56
// req.headers.content-type = 'application/json'
59
57
@@ -74,8 +72,6 @@ Having a body has no relation to how large the body is (it may be 0 bytes).
74
72
This is similar to how file existence works. If a body does exist, then this
75
73
indicates that there is data to read from the Node.js request stream.
76
74
77
- <!-- eslint-disable no-undef -->
78
-
79
75
``` js
80
76
if (typeis .hasBody (req)) {
81
77
// read the body, since there is one
@@ -108,8 +104,6 @@ Each type in the `types` array can be one of the following:
108
104
109
105
Some examples to illustrate the inputs and returned value:
110
106
111
- <!-- eslint-disable no-undef -->
112
-
113
107
``` js
114
108
var mediaType = ' application/json'
115
109
Original file line number Diff line number Diff line change 16
16
"eslint" : " 7.32.0" ,
17
17
"eslint-config-standard" : " 14.1.1" ,
18
18
"eslint-plugin-import" : " 2.25.3" ,
19
- "eslint-plugin-markdown" : " 1.0.2 " ,
19
+ "eslint-plugin-markdown" : " 2.2.1 " ,
20
20
"eslint-plugin-node" : " 10.0.0" ,
21
21
"eslint-plugin-promise" : " 5.2.0" ,
22
22
"eslint-plugin-standard" : " 4.1.0" ,
32
32
" index.js"
33
33
],
34
34
"scripts" : {
35
- "lint" : " eslint --plugin markdown --ext js,md ." ,
35
+ "lint" : " eslint ." ,
36
36
"test" : " mocha --reporter spec --check-leaks --bail test/" ,
37
37
"test-ci" : " nyc --reporter=lcovonly --reporter=text npm test" ,
38
38
"test-cov" : " nyc --reporter=html --reporter=text npm test"
You can’t perform that action at this time.
0 commit comments