|
| 1 | +// updated 2022-03-08 07:16 |
| 2 | +// https://github.com/antfu/vscode-file-nesting-config |
| 3 | +{ |
| 4 | + "[javascript]": { |
| 5 | + "editor.defaultFormatter": "dbaeumer.vscode-eslint" |
| 6 | + }, |
| 7 | + "[html]": { |
| 8 | + "editor.defaultFormatter": "vscode.html-language-features" |
| 9 | + }, |
| 10 | + "[css]": { |
| 11 | + "editor.defaultFormatter": "stylelint.vscode-stylelint" |
| 12 | + }, |
| 13 | + "editor.codeActionsOnSave": { |
| 14 | + "source.fixAll.eslint": "explicit", |
| 15 | + "source.fixAll.stylelint": "explicit" |
| 16 | + }, |
| 17 | + "editor.formatOnSave": true, |
| 18 | + "eslint.enable": true, |
| 19 | + "stylelint.enable": true, |
| 20 | + "css.validate": false, |
| 21 | + "scss.validate": false, |
| 22 | + "less.validate": false, |
| 23 | + "explorer.compactFolders": false, |
| 24 | + "javascript.validate.enable": false, |
| 25 | + "emmet.includeLanguages": { |
| 26 | + "jsx": "html", |
| 27 | + "vue": "html", |
| 28 | + "html": "html", |
| 29 | + "javascript": "html" |
| 30 | + }, |
| 31 | + "explorer.fileNesting.enabled": true, |
| 32 | + "explorer.fileNesting.expand": false, |
| 33 | + "explorer.fileNesting.patterns": { |
| 34 | + ".gitignore": ".gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*", |
| 35 | + "*.js": "$(capture).js.map, $(capture).min.js, $(capture).d.ts", |
| 36 | + "*.jsx": "$(capture).js", |
| 37 | + "*.ts": "$(capture).js, $(capture).*.ts", |
| 38 | + "*.tsx": "$(capture).ts", |
| 39 | + "index.d.ts": "*.d.ts", |
| 40 | + "shims.d.ts": "*.d.ts", |
| 41 | + "go.mod": ".air*, go.sum", |
| 42 | + ".env": "*.env, .env*, env.d.ts", |
| 43 | + "dockerfile": ".dockerignore, dockerfile*", |
| 44 | + "package.json": ".browserslist*, .circleci*, .codecov, .editorconfig, .flowconfig, .gitlab*, .gitpod*, .huskyrc*, .jshintrc, .mocha*, .node-version, .nodemon*, .npm*, .nvmrc, .pm2*, .pnpm*, .prettier*, .releaserc*, .sentry*, .stackblitz*, .tazerc*, .travis*, .vscode*, .watchman*, .yarnrc*, api-extractor.json, appveyor*, ava.config.*, azure-pipelines*, build.config.*, crowdin*, cypress.json, dangerfile*, gulp*, jasmine.*, jenkins*, jest.config.*, jsconfig.*, karma*, lerna*, nest-cli.*, netlify*, nodemon*, nx.*, package-lock.json, playwright.config.*, pm2.*, pnpm*, prettier*, pullapprove*, puppeteer.config.*, renovate*, rollup.config.*, tsdoc.*, tsup.config.*, turbo*, vercel*, vetur.config.*, vitest.config.*, webpack.config.*, workspace.json, yarn*", |
| 45 | + "readme.md": "authors, backers.md, changelog*.md, code_of_conduct.md, codeowners, contributing.md, contributors, copying, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors.md", |
| 46 | + "cargo.toml": "cargo.lock, rust-toolchain.toml, rustfmt.toml", |
| 47 | + "gemfile": ".ruby-version, gemfile.lock", |
| 48 | + "vite.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, .postcssrc.*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, index.html, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", |
| 49 | + "vue.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, .postcssrc.*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", |
| 50 | + "nuxt.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, .postcssrc.*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", |
| 51 | + "next.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, .postcssrc.*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, jasmine.*, jest.config.*, jsconfig.*, karma*, next-env.d.ts, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", |
| 52 | + "svelte.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, .postcssrc.*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", |
| 53 | + "remix.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, .postcssrc.*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, remix.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*" |
| 54 | + } |
| 55 | +} |
0 commit comments