docs: Add eslint-mdx support
Official guidelines: https://github.com/mdx-js/eslint-mdx Steps taken: npm i -D eslint-plugin-mdx Edit .eslintrc.js
This commit is contained in:
parent
18d4d619e4
commit
aefcc592f2
3 changed files with 1076 additions and 0 deletions
|
@ -8,6 +8,7 @@ module.exports = {
|
|||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:react/recommended",
|
||||
"plugin:mdx/recommended",
|
||||
"prettier",
|
||||
"prettier/react",
|
||||
],
|
||||
|
|
1074
docs/package-lock.json
generated
1074
docs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -30,6 +30,7 @@
|
|||
"devDependencies": {
|
||||
"eslint": "^7.12.0",
|
||||
"eslint-config-prettier": "^6.14.0",
|
||||
"eslint-plugin-mdx": "^1.8.2",
|
||||
"eslint-plugin-react": "^7.21.5",
|
||||
"prettier": "2.1.2"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue