Skip to content

Commit

Permalink
chore: minor formatting fixes, add void to bootstrap function
Browse files Browse the repository at this point in the history
removed redundant spaces in .eslintrc.js, jsconfig.json
added "void" to a bootstrap function call as WebStorm complains to it being async function and ignoring the returned promise
  • Loading branch information
devule committed Dec 9, 2022
1 parent 641e8d4 commit 739e7cc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/lib/application/files/js/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"target": "ES6",
"experimentalDecorators": true
"target": "ES6",
"experimentalDecorators": true
},
"exclude": [
"node_modules",
"dist"
"node_modules",
"dist"
]
}
2 changes: 1 addition & 1 deletion src/lib/application/files/js/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
bootstrap();
void bootstrap();
2 changes: 1 addition & 1 deletion src/lib/application/files/ts/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir : __dirname,
tsconfigRootDir: __dirname,
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
Expand Down
2 changes: 1 addition & 1 deletion src/lib/application/files/ts/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
bootstrap();
void bootstrap();
8 changes: 4 additions & 4 deletions src/lib/library/files/js/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"target": "ES6",
"experimentalDecorators": true
"target": "ES6",
"experimentalDecorators": true
},
"exclude": [
"node_modules"
"node_modules"
]
}
}

0 comments on commit 739e7cc

Please sign in to comment.