Skip to content

Commit be1bcc9

Browse files
committed
1 parent 9eaa7cd commit be1bcc9

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.eslintrc.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
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'
310
rules:
411
no-param-reassign: error

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ $ npm install send
2626

2727
## API
2828

29-
<!-- eslint-disable no-unused-vars -->
30-
3129
```js
3230
var send = require('send')
3331
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"eslint": "7.32.0",
3636
"eslint-config-standard": "14.1.1",
3737
"eslint-plugin-import": "2.25.3",
38-
"eslint-plugin-markdown": "1.0.2",
38+
"eslint-plugin-markdown": "2.2.1",
3939
"eslint-plugin-node": "11.1.0",
4040
"eslint-plugin-promise": "5.1.1",
4141
"eslint-plugin-standard": "4.0.2",
@@ -53,7 +53,7 @@
5353
"node": ">= 0.8.0"
5454
},
5555
"scripts": {
56-
"lint": "eslint --plugin markdown --ext js,md .",
56+
"lint": "eslint .",
5757
"test": "mocha --check-leaks --reporter spec --bail",
5858
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec",
5959
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot"

0 commit comments

Comments
 (0)