Skip to content

Commit

Permalink
rm samefileimport
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Jan 17, 2025
1 parent b52df97 commit e6da4e3
Showing 1 changed file with 8 additions and 27 deletions.
35 changes: 8 additions & 27 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,8 @@
],
"overrides": [
{
"files": [
"**/*.mdx"
],
"extends": [
"plugin:react/recommended",
"plugin:mdx/recommended"
],
"files": ["**/*.mdx"],
"extends": ["plugin:react/recommended", "plugin:mdx/recommended"],
"rules": {
"react/jsx-no-target-blank": "off",
"i18next/no-literal-string": "off"
Expand All @@ -40,11 +35,7 @@
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"i18next",
"no-relative-import-paths"
],
"plugins": ["@typescript-eslint", "i18next", "no-relative-import-paths"],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
Expand All @@ -62,28 +53,18 @@
{
"mode": "jsx-only",
"jsx-attributes": {
"include": [
"label",
"placeholder",
"error",
"title"
],
"exclude": [
".*"
]
"include": ["label", "placeholder", "error", "title"],
"exclude": [".*"]
},
"callees": {
"exclude": [
".*"
]
"exclude": [".*"]
}
}
],
"no-relative-import-paths/no-relative-import-paths": [
"error",
{
"allowSameFolder": true,
"prefix": "@"
"prefix": "@"
}
]
},
Expand All @@ -99,4 +80,4 @@
"*.csv",
"Dockerfile"
]
}
}

0 comments on commit e6da4e3

Please sign in to comment.