Skip to content

Commit

Permalink
Configure eslint for mdx files. Closes ohcnetwork#3760 (ohcnetwork#6485)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar76 authored Oct 27, 2023
1 parent 2cf1348 commit e17e746
Show file tree
Hide file tree
Showing 4 changed files with 1,847 additions and 172 deletions.
16 changes: 15 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@
"plugin:i18next/recommended",
"plugin:tailwindcss/recommended"
],
"overrides": [
{
"files": [
"**/*.mdx"
],
"extends": [
"plugin:react/recommended",
"plugin:mdx/recommended"
],
"rules": {
"react/jsx-no-target-blank": "off",
"i18next/no-literal-string": "off"
}
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
Expand Down Expand Up @@ -72,7 +87,6 @@
"*.res",
"*.css",
"*.csv",
"*.stories.mdx",
"Dockerfile"
]
}
Loading

0 comments on commit e17e746

Please sign in to comment.