diff --git a/.eslintrc.yml b/.eslintrc.yml index fcce571..983af47 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1,5 +1,11 @@ root: true - +extends: + - plugin:markdown/recommended +plugins: + - markdown +overrides: + - files: '**/*.md' + processor: 'markdown/markdown' rules: eol-last: error eqeqeq: [error, allow-null] diff --git a/package.json b/package.json index 30ae9e5..954ce0e 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "devDependencies": { "after": "0.8.2", "eslint": "7.21.0", - "eslint-plugin-markdown": "1.0.2", + "eslint-plugin-markdown": "2.0.0", "istanbul": "0.4.5", "mocha": "8.3.2", "supertest": "6.1.3" @@ -32,7 +32,7 @@ "node": ">= 0.8.0" }, "scripts": { - "lint": "eslint --plugin markdown --ext js,md .", + "lint": "eslint .", "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"