Skip to content

Commit 09b54ff

Browse files
fix(deps): update dependency eslint-plugin-markdown to v2 (#105)
1 parent 1d1e45c commit 09b54ff

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

.eslintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
'plugin:react/recommended',
2020
'prettier/react',
2121
'plugin:you-dont-need-lodash-underscore/all',
22+
'plugin:markdown/recommended',
2223
],
2324
reportUnusedDisableDirectives: true,
2425
rules: {
@@ -314,7 +315,7 @@ module.exports = {
314315
},
315316
},
316317
{
317-
files: ['**/*.md'],
318+
files: ['**/*.md/*.js'],
318319
rules: {
319320
'no-undef': 0,
320321
'no-unused-vars': 0,

package-lock.json

+11-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"prepublishOnly:test": "npm test"
3636
},
3737
"config": {
38-
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{bin,.github}/**/*.{js,md,html}\" \".*.js\"",
38+
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{bin,.github}/**/*.{js,md,html}\" \".*.js\" \"*.md\"",
3939
"prettier": "--ignore-path .gitignore --loglevel=warn \"{bin,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \"!**/package-lock.json\" \"!CHANGELOG.md\""
4040
},
4141
"husky": {
@@ -86,7 +86,7 @@
8686
"eslint-plugin-fp": "^2.3.0",
8787
"eslint-plugin-html": "^6.1.0",
8888
"eslint-plugin-import": "^2.22.1",
89-
"eslint-plugin-markdown": "^1.0.2",
89+
"eslint-plugin-markdown": "^2.0.0",
9090
"eslint-plugin-node": "^11.1.0",
9191
"eslint-plugin-promise": "^4.2.1",
9292
"eslint-plugin-react": "^7.21.5",

0 commit comments

Comments
 (0)