lightning-terminal/.vscode/settings.json
Gijs van Dam aae4da9e67
vscode: replace deprecated boolean with string
The boolean values for `source.fixAll.eslint` are deprecated. This
commit changes the boolean values to the correct string values.

See: https://code.visualstudio.com/updates/v1_83#_editor
2024-11-07 13:31:30 +01:00

70 lines
1.9 KiB
JSON

{
"files.associations": {
".commitlintrc": "jsonc",
".electronbuildrc": "jsonc",
".eslintrc": "jsonc",
".lintstagedrc": "jsonc",
".prettierrc": "jsonc",
".renovaterc": "jsonc",
".stylelintrc": "json",
".versionrc": "json",
".tsimportsorter": "json"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"importSorter.generalConfiguration.sortOnBeforeSave": true,
"importSorter.sortConfiguration.removeUnusedImports": true,
"importSorter.importStringConfiguration.tabSize": 2,
"importSorter.importStringConfiguration.trailingComma": "multiLine",
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.count": 90,
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.type": "newLineEachExpressionAfterCountLimit",
"importSorter.sortConfiguration.customOrderingRules.defaultNumberOfEmptyLinesAfterGroup": 0,
"importSorter.sortConfiguration.customOrderingRules.defaultOrderLevel": 50,
"importSorter.sortConfiguration.customOrderingRules.rules": [
{
"regex": "^(first entry ignored by the plugin. idk why)",
"orderLevel": 0
},
{
"regex": "^(react)",
"orderLevel": 10
},
{
"regex": "^(mobx|mobx-react|types)",
"orderLevel": 20
},
{
"regex": "^[@]",
"orderLevel": 30
},
{
"type": "importMember",
"regex": "^$",
"orderLevel": 40,
"disableSort": true
},
{
"regex": "^(action|api|store)",
"orderLevel": 60
},
{
"regex": "^(components|resources)",
"orderLevel": 70
},
{
"regex": "^[.]",
"orderLevel": 80
}
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.workingDirectories": [
"./app"
],
"typescript.tsdk": "./app/node_modules/typescript/lib"
}