Skip to content

Commit

Permalink
Update project configurations and settings
Browse files Browse the repository at this point in the history
- Updated ESLint configuration to include additional rules and plugins, along with a change in ECMAScript version support.
- Modified .gitignore to refine ignored files and directories.
- Added new VS Code extensions to enhance developer productivity.
- Adjusted VS Code settings for a customized appearance.
- Removed unnecessary MongoDB connection handling in the codebase.
- Deleted unused files related to MongoDB connection handling.
- Removed obsolete project entry file.
- Consolidated and refined project setup and tooling configurations as per recent project requirements.

Issue: #123
  • Loading branch information
karol-preiskorn committed Apr 13, 2024
1 parent c54456b commit ee2c484
Show file tree
Hide file tree
Showing 79 changed files with 1,253 additions and 3,214 deletions.
1 change: 1 addition & 0 deletions .eslintcache

Large diffs are not rendered by default.

15 changes: 2 additions & 13 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"env": {
"es2020": true,
"es2022": true,
"jasmine": false,
"mongo": true,
"node": true
},
"extends": [
"standard",
"plugin:eslint-plugin/recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"prettier"
Expand Down Expand Up @@ -44,7 +45,6 @@
},
"plugins": [
"@typescript-eslint",
"unused-imports"
],
"root": true,
"rules": {
Expand All @@ -55,16 +55,5 @@
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"args": "after-used",
"argsIgnorePattern": "^_",
"vars": "all",
"varsIgnorePattern": "^_"
}
]
}
}
24 changes: 3 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
*~
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
coverage
*.lcov
.grunt
.lock-wscript
node_modules/
.npm
.eslintcache
*.tgz
node_modules
.env

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
Expand All @@ -29,9 +14,6 @@ gcs/d-inventory-406007-b220e292572a.json
lib
build
.92ed10cc980e98503850e47148b86420cc328706-audit.json
.nyc_output
doc/**/*
doc/
docs.vscode/branch-timer.json
doc
dist
dist/**/*
.vscode/branch-timer.json
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

npm --no-git-tag-version version minor
git add .
npx lint-staged
# npx lint-staged
7 changes: 6 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"github.github-vscode-theme",
"mikestead.dotenv",
"ms-vscode-remote.remote-containers",
"gabriielbs0673.pull-request-time"
"gabriielbs0673.pull-request-time",
"yoavbls.pretty-ts-errors",
"ms-1es.pull-request-quantifier",
"unional.vscode-sort-package-json",
"richie5um2.vscode-sort-json",
"tyriar.sort-lines"
]
}
55 changes: 3 additions & 52 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,8 @@
// Place your settings in this file to overwrite default and user settings.
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript",
"typescript"
],
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"[markdown]": {
"editor.formatOnSave": false
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/dist": true,
"**/coverage": true
},
"typescript.referencesCodeLens.enabled": true,
"appService.zipIgnorePattern": [
".vscode{,/**}"
],
"appService.deploySubpath": "",
"jest.jestCommandLine": "jest test",
"jest.rootPath": ".",
"cSpell.words": [
"codeframe",
"mvn",
"myfont",
"oracledb",
"smoothstep",
"tsc"
],
"mocha.enabled": true,
"yaml.suggest.parentSkeletonSelectedFirst": true,
"vsicons.projectDetection.autoReload": true,
"workbench.editor.sharedViewState": true,
"workbench.commandPalette.preserveInput": true,
"rest-client.fontWeight": "400",
"rest-client.fontSize": 11,
"workbench.colorCustomizations": {
"badge.background": "#445691",
"statusBar.debuggingBackground": "#005f5f",
"statusBar.debuggingForeground": "#ffffff",
"statusBar.foreground": "#ffffff",
"statusBar.noFolderBackground": "#005f5f",
"tree.inactiveIndentGuidesStroke": "#571212",
"tree.indentGuidesStroke": "#3f793f"
"activityBar.background": "#122E53",
"titleBar.activeBackground": "#194074",
"titleBar.activeForeground": "#F8FAFD"
}
}
79 changes: 0 additions & 79 deletions dist/db/conn.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/db/conn.js.map

This file was deleted.

Loading

0 comments on commit ee2c484

Please sign in to comment.