Skip to content

Commit

Permalink
chore: adjust config files
Browse files Browse the repository at this point in the history
This commit includes:

- Configuring of eslint to ignore no unused vars rule when prefixed by underscore
- Nodemon configuration
- Adding of start script
- Installation of fastify and typeorm-extension packages
- Adjustment of typescript strictness rules
  • Loading branch information
Leonardo Giraldi Moreno Giuranno committed May 23, 2024
1 parent 739f7b4 commit 11653c9
Show file tree
Hide file tree
Showing 5 changed files with 722 additions and 9 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,17 @@ module.exports = {
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: ["error", "always"],
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "all",
argsIgnorePattern: "^_",
caughtErrors: "all",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
ignoreRestSiblings: true,
},
],
},
};
5 changes: 5 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"watch": ["src"],
"ext": "ts",
"ignore": ["node_modules", "test", "dist"]
}
Loading

0 comments on commit 11653c9

Please sign in to comment.