Added VS Code workspace settings file

refs https://ghost.slack.com/archives/C02G9E68C/p1685611322859309
refs 7b6eb3171a

- this introduces a `.vscode/settings.json` file which should provide
  some reasonable default settings when dealing with this repo
- changes include setting some search exclusions and fixing the working
  directory for eslint so Tailwind config is picked up correctly
This commit is contained in:
Daniel Lockyer 2023-06-02 15:26:49 +02:00
parent b307c59d54
commit bc23285c55
No known key found for this signature in database
2 changed files with 18 additions and 0 deletions

1
.gitignore vendored
View File

@ -67,6 +67,7 @@ typings/
*.sublime-*
.vscode/*
!.vscode/launch.json
!.vscode/settings.json
# OSX
.DS_Store

17
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,17 @@
{
"eslint.workingDirectories": [
{
"pattern": "./ghost/*/"
}
],
"search.exclude": {
"**/*.js.snap": true,
"**/.git": true,
"**/build/*": true,
"**/coverage/**": true,
"**/dist/**": true,
"**/ghost.map": true,
"**/node_modules": true,
"ghost/core/core/built/**": true
}
}