mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
86 lines
1.7 KiB
JSON
86 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",
|
|
"typescript",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"json5",
|
|
"jsonc",
|
|
"yaml",
|
|
"toml",
|
|
"xml",
|
|
"css",
|
|
"scss"
|
|
]
|
|
}
|