Commit 21e26b0
authored
Support .ts(x) eslint linting (codesandbox#2143)
* Demo linting errors
* ⚙️ Config: Add TypeScript validation to VSCode ESLint Settings
This appears to be a solution to ESLint not working on TypeScript files in VSCode. It doesn't solve issues in other editors, but right now it would appear that getting ESLint to work with TypeScript is difficult to do in general.
* app eslint: also check .ts(x) files.
* app typecheck: really exclude overmind.
* app eslint: ignore overmind (for now).
* Fix ESLint errors/warnings on linting-issues-repro branch (codesandbox#2154)
* Fix ESLint errors
* Fix some more ESLint errors
* Ignore packages/app/src/app/vscode folder
* Fix some more ESLint errors
* Resolve discussions
* Resolve some more discussions
* Fix 0 check on number
* Change undefined value
* Make function name more explicit
* Change undefined behaviour
* Support importing types in linter1 parent 522cd7f commit 21e26b0
File tree
53 files changed
+404
-376
lines changed- .vscode
- packages
- app
- config
- src/app
- components
- CodeEditor
- Configuration
- MonacoDiff
- VSCode
- Configuration
- Preview/DevTools
- Console
- Problems
- Tabs
- Tab
- Tests
- TestElement
- SubscribeForm/CheckoutForm
- pages
- Dashboard/Content
- CreateNewSandbox/NewSandboxModal/MyTemplates
- Sandbox/Editor
- Header
- SandboxName
- Workspace
- Dependencies/VersionEntry
- Project
- Alias
- items/Server
- common
- LikeHeart
- Modals/SignInForTemplates
- Stats
- store/providers
- utils
- vscode
- extensionHostWorker
- bootstrappers
- common
- services
- workers
- node-services/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+404
-376
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | | - | |
6 | | - | |
7 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
10 | 13 | | |
11 | | - | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
0 commit comments