Skip to content

Commit 88ba108

Browse files
committed
1 parent 42f9acb commit 88ba108

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,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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ $ npm install compression
2424

2525
## API
2626

27-
<!-- eslint-disable no-unused-vars -->
28-
2927
```js
3028
var compression = require('compression')
3129
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"eslint": "7.32.0",
2323
"eslint-config-standard": "14.1.1",
2424
"eslint-plugin-import": "2.25.4",
25-
"eslint-plugin-markdown": "1.0.0",
25+
"eslint-plugin-markdown": "2.2.1",
2626
"eslint-plugin-node": "9.2.0",
2727
"eslint-plugin-promise": "4.2.1",
2828
"eslint-plugin-standard": "4.0.1",
@@ -39,7 +39,7 @@
3939
"node": ">= 0.8.0"
4040
},
4141
"scripts": {
42-
"lint": "eslint --plugin markdown --ext js,md .",
42+
"lint": "eslint .",
4343
"test": "mocha --check-leaks --reporter spec --bail",
4444
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
4545
"test-cov": "nyc --reporter=html --reporter=text npm test"

0 commit comments

Comments
 (0)