Skip to content

Commit 45cbbf4

Browse files
committed
1 parent 9a1cc15 commit 45cbbf4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.eslintrc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
root: true
2+
extends:
3+
- plugin:markdown/recommended
4+
plugins:
5+
- markdown
6+
overrides:
7+
- files: '**/*.md'
8+
processor: 'markdown/markdown'
29
rules:
310
eol-last: error
411
eqeqeq: ["error", "always", { "null": "ignore" }]

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"after": "0.8.2",
2424
"cookie-parser": "1.4.5",
2525
"eslint": "7.26.0",
26-
"eslint-plugin-markdown": "1.0.2",
26+
"eslint-plugin-markdown": "2.1.0",
2727
"express": "4.17.1",
2828
"mocha": "8.4.0",
2929
"nyc": "15.1.0",
@@ -39,7 +39,7 @@
3939
"node": ">= 0.8.0"
4040
},
4141
"scripts": {
42-
"lint": "eslint --plugin markdown --ext js,md . && node ./scripts/lint-readme.js",
42+
"lint": "eslint . && node ./scripts/lint-readme.js",
4343
"test": "mocha --require test/support/env --check-leaks --bail --no-exit --reporter spec test/",
4444
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
4545
"test-cov": "nyc npm test",

0 commit comments

Comments
 (0)