Add fileNesting rule to group the .license files with the files they belong to.
25 lines
781 B
JSON
25 lines
781 B
JSON
/*
|
|
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
{
|
|
"explorer.fileNesting.enabled": true,
|
|
"explorer.fileNesting.patterns": {
|
|
"tsconfig.json": "tsconfig.*.json, env.d.ts",
|
|
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
|
|
"package.json": "package-lock.json, bun.lockb, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .prettier*, prettier*",
|
|
"*": "${capture}.license",
|
|
},
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit"
|
|
},
|
|
"editor.detectIndentation": false,
|
|
"editor.insertSpaces": false,
|
|
"files.eol": "\n",
|
|
"files.insertFinalNewline": true,
|
|
"files.trimFinalNewlines": true,
|
|
"[yaml]": {
|
|
"editor.indentSize": 2,
|
|
"editor.insertSpaces": true,
|
|
},
|
|
}
|