Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ This project aims to create a web-based user interface that simulates the look a

We welcome contributions! If you'd like to contribute to this project, please follow the guidelines in CONTRIBUTING.md.

### Imports

Imports are now absolute. Configure in IntelliJ like this.
![img.png](intelliJ-formatting.png)


## License

This project is licensed under the ***[BaNaNa](https://www.youtube.com/watch?v=sJZ1G0e5bWU)*** License.
Expand Down
Binary file added intelliJ-formatting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 0 additions & 29 deletions qodana.yaml

This file was deleted.

9 changes: 8 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
// for absolute imports
"baseUrl": "./",
"paths": {
"src/*": [
"./src/*"
]
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down
6 changes: 6 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ import react from "@vitejs/plugin-react";
export default defineConfig({
base: "./",
plugins: [react()],
// for absolute imports
resolve: {
alias: {
src: "/src"
}
}
});