Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,18 @@
/node
/package.json
/package-lock.json
.vscode
webpack.config.js
/error-screenshots
drivers
tsconfig.json
.idea
types.d.ts
vite.generated.ts
vite.config.ts
Comment on lines +10 to +18
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Add leading / to root-level entries for consistency and correctness.

Lines 10–18 lack the leading / used throughout the rest of the file. Without it, patterns like webpack.config.js and tsconfig.json will match these files anywhere in the repository, not just the root—potentially ignoring similarly named files in subdirectories unintentionally.

Additionally, directory entries (.vscode, .idea) should use the / convention or the trailing / suffix to explicitly denote directories.

Apply this diff to fix the inconsistency:

-10
-/.vscode
-11
-webpack.config.js
-12
-/error-screenshots
-13
-drivers
-14
-tsconfig.json
-15
-.idea
-16
-types.d.ts
-17
-vite.generated.ts
-18
-vite.config.ts
+10
+/.vscode/
+11
+/webpack.config.js
+12
+/error-screenshots
+13
+/drivers
+14
+/tsconfig.json
+15
+/.idea/
+16
+/types.d.ts
+17
+/vite.generated.ts
+18
+/vite.config.ts

Note: Added trailing / to IDE config directories (.vscode/, .idea/) to explicitly mark them as directories per gitignore convention.

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In .gitignore around lines 10 to 18, several root-level entries lack a leading
'/' and IDE directories aren't explicitly marked as directories; update each
root file pattern to prefix with '/' (e.g. '/webpack.config.js',
'/tsconfig.json', '/types.d.ts', '/vite.generated.ts', '/vite.config.ts',
'/error-screenshots', '/drivers') and mark IDE folders with a trailing slash or
leading slash plus trailing slash (e.g. '/.vscode/' and '/.idea/') so these
ignore patterns apply only to repository root and directories are explicit.

/src/main/dev-bundle
/src/main/bundles
/src/main/frontend/generated
/src/main/frontend/index.html
/frontend/generated
/frontend/index.html