mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
# Description of Changes There's no current linter running over our TypeScript code, which means we've got a bunch of dead code and other code smells around with nothing notifying us. This PR adds ESLint with the typescript-eslint plugin and enables the recommended settings as a starting point for us. I've disabled all of the failing rules for the scope of this PR, just to get linting running without causing a massive diff. I'll follow up with future PRs that enable the failing rules one by one. Also updates our version of TypeScript, which introduces a new type error in the code (which I've had to fix)
25 lines
1.8 KiB
JSON
25 lines
1.8 KiB
JSON
{
|
|
"recommendations": [
|
|
"elagil.pre-commit-helper", // Support for pre-commit hooks to enforce code quality
|
|
"josevseb.google-java-format-for-vs-code", // Google Java code formatter to follow the Google Java Style Guide
|
|
"ms-python.black-formatter", // Python code formatter using Black
|
|
"ms-python.flake8", // Flake8 linter for Python to enforce code quality
|
|
"ms-python.python", // Official Microsoft Python extension with IntelliSense, debugging, and Jupyter support
|
|
"ms-vscode-remote.vscode-remote-extensionpack", // Remote Development Pack for SSH, WSL, and Containers
|
|
// "Oracle.oracle-java", // Oracle Java extension with additional features for Java development
|
|
"streetsidesoftware.code-spell-checker", // Spell checker for code to avoid typos
|
|
"vmware.vscode-boot-dev-pack", // Developer tools for Spring Boot by VMware
|
|
"vscjava.vscode-java-pack", // Java Extension Pack with essential Java tools for VS Code
|
|
"vscjava.vscode-spring-boot-dashboard", // Spring Boot dashboard for managing and visualizing Spring Boot applications
|
|
"EditorConfig.EditorConfig", // EditorConfig support for maintaining consistent coding styles
|
|
"ms-azuretools.vscode-docker", // Docker extension for Visual Studio Code
|
|
"GitHub.copilot", // GitHub Copilot AI pair programmer for Visual Studio Code
|
|
"GitHub.vscode-pull-request-github", // GitHub Pull Requests extension for Visual Studio Code
|
|
"charliermarsh.ruff", // Ruff code formatter for Python to follow the Ruff Style Guide
|
|
"yzhang.markdown-all-in-one", // Markdown All-in-One extension for enhanced Markdown editing
|
|
"stylelint.vscode-stylelint", // Stylelint extension for CSS and SCSS linting
|
|
"redhat.vscode-yaml", // YAML extension for Visual Studio Code
|
|
"dbaeumer.vscode-eslint", // ESLint extension for TypeScript linting
|
|
]
|
|
}
|