Преглед на файлове

Fix eslint reading config from dependencies; track vscode settings

master
Fen Dweller преди 5 години
родител
ревизия
129fdc532f
променени са 3 файла, в които са добавени 56 реда и са изтрити 1 реда
  1. +17
    -1
      .gitignore
  2. +27
    -0
      .vscode/settings.json
  3. +12
    -0
      .vscode/tasks.json

+ 17
- 1
.gitignore Целия файл

@@ -14,9 +14,25 @@ pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.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

+ 27
- 0
.vscode/settings.json Целия файл

@@ -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
}
}

+ 12
- 0
.vscode/tasks.json Целия файл

@@ -0,0 +1,12 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "eslint",
"problemMatcher": [
"$eslint-stylish"
],
"label": "eslint: lint whole folder"
}
]
}

Loading…
Отказ
Запис