Skip to content

Commit

Permalink
Fix bug where eslint configuration could not resolve tsconfig in VSCo…
Browse files Browse the repository at this point in the history
…de (#2493)

* Add setting for eslint working directories.

This adds a configuration to the workspace vscode settings to make
vscode recognize the proper eslint configuration file and the
relative working directory for each sub-package in the monorepo.

---------

Co-authored-by: Trevor Harris <[email protected]>
  • Loading branch information
juanscr and TrevorJoelHarris authored Sep 5, 2024
1 parent 24e0705 commit 2bbbc55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"cSpell.words": ["adal", "ipados", "teamspace", "uninitialize", "xvfb"],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.workingDirectories": [
"./apps/ssr-test-app/",
"./apps/teams-perf-test-app",
"./apps/teams-test-app/",
"./apps/typed-dependency-tester/",
"./packages/teams-js/"
],
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
Expand Down

0 comments on commit 2bbbc55

Please sign in to comment.