Skip to content

Commit

Permalink
🚨 未使用の変数に関するリンティングルールを更新
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEKE320 committed Apr 2, 2024
1 parent a8927d1 commit 99f9767
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions astro/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,23 @@ module.exports = {
"@typescript-eslint/no-namespace": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{ destructuredArrayIgnorePattern: "^_" },
{
args: "all",
argsIgnorePattern: "^_",
caughtErrors: "all",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
ignoreRestSiblings: true,
},
],
},
ignorePatterns: [
"dist",
"node_modules",
"dist",
"node_modules",
"tailwind.config.mjs",
"jest.config.cjs",
"astro.config.mjs"
"astro.config.mjs",
],
overrides: [
{
Expand Down

0 comments on commit 99f9767

Please sign in to comment.