| @@ -14,9 +14,25 @@ pnpm-debug.log* | |||||
| # Editor directories and files | # Editor directories and files | ||||
| .idea | .idea | ||||
| .vscode | |||||
| *.suo | *.suo | ||||
| *.ntvs* | *.ntvs* | ||||
| *.njsproj | *.njsproj | ||||
| *.sln | *.sln | ||||
| *.sw? | *.sw? | ||||
| # Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode | |||||
| # Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode | |||||
| ### VisualStudioCode ### | |||||
| .vscode/* | |||||
| !.vscode/settings.json | |||||
| !.vscode/tasks.json | |||||
| !.vscode/launch.json | |||||
| !.vscode/extensions.json | |||||
| *.code-workspace | |||||
| ### VisualStudioCode Patch ### | |||||
| # Ignore all local history of files | |||||
| .history | |||||
| # End of https://www.toptal.com/developers/gitignore/api/visualstudiocode | |||||
| @@ -0,0 +1,27 @@ | |||||
| { | |||||
| "files.insertFinalNewline": true, | |||||
| "editor.tabSize": 2, | |||||
| "eslint.alwaysShowStatus": true, | |||||
| "eslint.validate": [ | |||||
| "vue", | |||||
| "typescript" | |||||
| ], | |||||
| "eslint.codeAction.showDocumentation": { | |||||
| "enable": true | |||||
| }, | |||||
| "editor.minimap.renderCharacters": false, | |||||
| "eslint.lintTask.enable": true, | |||||
| "search.exclude": { | |||||
| "dist/": true | |||||
| }, | |||||
| "files.exclude": { | |||||
| "dist/": true, | |||||
| "node_modules/": true | |||||
| }, | |||||
| "typescript.tsserver.experimental.enableProjectDiagnostics": true, | |||||
| "typescript.suggest.autoImports": true, | |||||
| "eslint.options": { | |||||
| "configFile": "./.eslintrc.js", | |||||
| "useEslintrc": false | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,12 @@ | |||||
| { | |||||
| "version": "2.0.0", | |||||
| "tasks": [ | |||||
| { | |||||
| "type": "eslint", | |||||
| "problemMatcher": [ | |||||
| "$eslint-stylish" | |||||
| ], | |||||
| "label": "eslint: lint whole folder" | |||||
| } | |||||
| ] | |||||
| } | |||||