Skip to content

Commit

Permalink
added eslint for markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
sahitya-chandra committed Jan 6, 2025
1 parent c9d035d commit fc675f8
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,24 @@
"jest",
"import",
"eslint-plugin-tsdoc",
"prettier"
"prettier",
"markdown"
],

"overrides": [
{
"files": ["**/*.md"],
"processor": "markdown/markdown"
},
{
"files": ["**/*.md/*.js"],
"rules": {
"no-unused-vars": "off",
"no-undef": "off"
}
}
],

"rules": {
"react/destructuring-assignment": "error",
"@typescript-eslint/explicit-module-boundary-types": "error",
Expand Down
198 changes: 198 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.7",
"@babel/preset-typescript": "^7.26.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^12.1.10",
"@testing-library/dom": "^10.4.0",
"@types/inquirer": "^9.0.7",
"@types/jest": "^26.0.24",
"@types/js-cookie": "^3.0.6",
Expand All @@ -144,6 +144,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-tsdoc": "^0.3.0",
Expand Down

0 comments on commit fc675f8

Please sign in to comment.