chore(docs): added eslint to lint documentation code blocks (#2920)
* docs: added rule for code length * chore: fixes based on vale errors * changed to use eslint * fixes using eslint * added github action for documentation eslint * changed allowed max-length * fixed incorrect heading level * removed comment
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"@babel/plugin-transform-instanceof": "^7.10.4",
|
||||
"@babel/plugin-transform-runtime": "^7.11.5",
|
||||
"@babel/preset-env": "^7.11.5",
|
||||
"@babel/preset-react": "^7.18.6",
|
||||
"@babel/register": "^7.11.5",
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"@redocly/cli": "latest",
|
||||
@@ -29,7 +30,9 @@
|
||||
"eslint": "^8.23.0",
|
||||
"eslint-config-google": "^0.14.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-markdown": "^3.0.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-react": "^7.31.11",
|
||||
"express": "^4.17.1",
|
||||
"get-port": "^5.1.1",
|
||||
"husky": "^7.0.2",
|
||||
@@ -60,6 +63,7 @@
|
||||
"hooks:uninstall": "husky uninstall",
|
||||
"build": "turbo run build --no-daemon",
|
||||
"lint": "eslint --ignore-path .eslintignore --ext .js,.ts,.tsx .",
|
||||
"lint:docs": "eslint -c docs/.eslintrc.js --ignore-path docs/.eslintignore docs/content",
|
||||
"prettier": "prettier",
|
||||
"jest": "jest",
|
||||
"test": "turbo run test --no-daemon --filter=!integration-tests-api --filter=!integration-tests-plugins",
|
||||
|
||||
Reference in New Issue
Block a user