Skip to content

Commit

Permalink
chore(vite-sample-app): move vite ESLint override into its own .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
cahnory committed Oct 30, 2023
1 parent 6a572c3 commit bdb85a7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,6 @@
"version": "detect"
}
}
},
// Development override
{
"files": ["**/vite.config.ts"],
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false
}
]
}
}
],
"parserOptions": {
Expand Down
18 changes: 18 additions & 0 deletions apps/vite-sample/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://json.schemastore.org/eslintrc",
"extends": ["../../.eslintrc"],
"overrides": [
{
"files": ["**/vite.config.ts"],
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false
}
]
}
}
]
}

0 comments on commit bdb85a7

Please sign in to comment.