Skip to content

Commit

Permalink
Merge pull request #1 from dqnykamp/server-lint
Browse files Browse the repository at this point in the history
fix server lints
  • Loading branch information
cqnykamp authored Aug 14, 2024
2 parents 6a06a69 + ef0d246 commit f3089ae
Show file tree
Hide file tree
Showing 9 changed files with 605 additions and 276 deletions.
16 changes: 16 additions & 0 deletions server/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,20 @@ export default [
{ languageOptions: { globals: { ...globals.node } } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "all",
argsIgnorePattern: "^_",
caughtErrors: "all",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
ignoreRestSiblings: true,
},
],
},
},
];
Loading

0 comments on commit f3089ae

Please sign in to comment.