Skip to content

Commit 18a1950

Browse files
committed
1 parent 65df162 commit 18a1950

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.eslintrc.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
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'

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ $ npm install vhost
1313

1414
## API
1515

16-
<!-- eslint-disable no-unused-vars -->
17-
1816
```js
1917
var vhost = require('vhost')
2018
```

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"eslint": "7.32.0",
1313
"eslint-config-standard": "13.0.1",
1414
"eslint-plugin-import": "2.26.0",
15-
"eslint-plugin-markdown": "1.0.2",
15+
"eslint-plugin-markdown": "2.2.1",
1616
"eslint-plugin-node": "9.2.0",
1717
"eslint-plugin-promise": "4.3.1",
1818
"eslint-plugin-standard": "4.1.0",
@@ -29,7 +29,7 @@
2929
"node": ">= 0.8.0"
3030
},
3131
"scripts": {
32-
"lint": "eslint --plugin markdown --ext js,md .",
32+
"lint": "eslint .",
3333
"test": "mocha --reporter spec --bail --check-leaks test/",
3434
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
3535
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"

0 commit comments

Comments
 (0)