Skip to content

Commit

Permalink
Merge pull request #326 from na2na-p/chore/tightening-dependencies-im…
Browse files Browse the repository at this point in the history
…ports

依存の依存からimportされたらESLintで落とす
  • Loading branch information
na2na-p authored Dec 8, 2023
2 parents 67e4118 + 3675cfc commit 1482154
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 5 deletions.
12 changes: 11 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@
]
}
],
"object-shorthand": "error"
"object-shorthand": "error",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.spec.[jt]s"
],
"optionalDependencies": false,
"peerDependencies": false
}
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint": "^8.54.0",
"prettier": "^3.1.0",
"tsx": "^4.2.0",
"typescript": "^5.3.2",
Expand All @@ -42,7 +43,6 @@
"chalk": "^5.3.0",
"discord.js": "^14.14.1",
"dotenv": "^16.3.1",
"eslint": "^8.54.0",
"libsodium-wrappers": "^0.7.13",
"lodash-es": "^4.17.21",
"resolve": "^1.22.8",
Expand Down
Loading

0 comments on commit 1482154

Please sign in to comment.