mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 07:18:57 +00:00
d8624386c7
* chore: use monorepo to manage demo, test and other applications and internal packages * style: add eslint support and lint code * chore: refactor project structure and add versioning package replace of fixit-releaser * chore(deps-dev): replace husky with simple-git-hooks * Potential fix for code scanning alert no. 13: Shell command built from environment values * chore(deps-dev): update the final fixit-releaser version * docs: update contributing guidelines for new structure and commands --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
85 lines
1.7 KiB
JSON
85 lines
1.7 KiB
JSON
{
|
|
"todo-tree.tree.scanMode": "workspace only",
|
|
"explorer.fileNesting.enabled": true,
|
|
"explorer.fileNesting.patterns": {
|
|
"tsconfig.json": "tsconfig.*.json, env.d.ts",
|
|
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .prettier*, prettier*, .editorconfig"
|
|
},
|
|
// Disable the default formatter, use eslint instead
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
// Auto fix
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
// Silent the stylistic rules in you IDE, but still auto fix them
|
|
"eslint.rules.customizations": [
|
|
{
|
|
"rule": "style/*",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "format/*",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-indent",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-spacing",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-spaces",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-order",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-dangle",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-newline",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*quotes",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*semi",
|
|
"severity": "off",
|
|
"fixable": true
|
|
}
|
|
],
|
|
// Enable eslint for all supported languages
|
|
"eslint.validate": [
|
|
"go-html-template",
|
|
"javascript",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"json5",
|
|
"jsonc",
|
|
"yaml",
|
|
"toml",
|
|
"xml",
|
|
"css",
|
|
"scss"
|
|
]
|
|
}
|