Commit 3bb3cf3
authored
Upgrade ESLint and make it part of the main process (codesandbox#2451)
* Apply new linting rules
* More minor fixes
* Remove some newlines
* Remove tsignore lines
* Fix common eslint errors
* Fix more lint errors
* Fix dynamic pages linting issues
* Fix homepage lint
* Don't enforce param destructure for a reassignment
* Auto hooks
* Add hooks for eslint fixes
* Run app and common concurrently
* Upgrade TS
* Set standalone-packages as vendored
* Fix ts1 parent a0295e1 commit 3bb3cf3
File tree
292 files changed
+1292
-870
lines changed- packages
- app
- src
- app
- components
- CodeEditor
- CodeMirror
- Configuration
- ImageViewer
- MonacoDiff
- Monaco
- grammars
- workers/linter
- VSCode
- Configuration
- ContextMenu
- DeleteSandboxButton
- Modal
- Preview/DevTools
- Console
- Input
- Problems
- React-Devtools
- Tabs/Tab
- Terminal
- Tests
- TestDetails
- ErrorDetails
- TestBlock
- TestName
- TestElement
- TestOverview
- TestSummary
- Unread
- overmind
- effects
- api
- live
- zip/create-zip
- create-react-app-typescript
- create-react-app
- full
- preact-cli
- svelte
- vue-cli
- namespaces
- dashboard
- editor
- files
- git
- live
- preferences
- profile
- workspace
- utils
- pages
- Dashboard
- Content
- CreateNewSandbox
- DragLayer/SelectedSandboxItems
- SandboxCard
- SandboxGrid
- Sandboxes/Filters
- FilterOptions
- SortOptions
- routes
- PathedSandboxes
- SearchSandboxes
- TeamView
- AddTeamMember
- Templates
- Sidebar
- Item
- SandboxesItem
- TemplateItem
- Live
- Patron/PricingModal
- PricingChoice/ChangeSubscription
- PricingInfo
- Profile
- Sandboxes
- Sandbox
- Editor
- Content
- Preview
- Tabs
- ModuleTab
- Tab
- Header
- Buttons
- CollectionInfo
- SandboxName
- Workspace
- Dependencies/VersionEntry
- DowntimeNotice
- Files
- DirectoryEntry
- DirectoryChildren
- Entry
- EntryIcons
- OpenedTabs
- Project
- SandboxConfig
- Versions/PublishFields
- WorkspaceItem
- items/Live
- QuickActions
- common
- ErrorBoundary/CodeSadbox
- HTML5BackendWithFolderSupport/html-dir-content
- LikeHeart
- Modals
- CommitModal
- FeedbackModal
- MoveSandboxFolderModal
- NetlifyLogs
- PreferencesModal/KeyMapping
- StorageManagementModal
- AddFileToSandboxButton
- DeleteFileButton
- FilesList
- UserMenu/Menu
- ZeitAuth
- store
- modules
- dashboard
- editor
- files
- live
- patron
- workspace
- providers
- Utils/create-zip
- create-react-app-typescript
- create-react-app
- full
- preact-cli
- svelte
- vue-cli
- utils
- embed/components
- App
- Content
- Header
- Sidebar
- sandbox
- eval
- loaders
- npm
- presets
- angular-cli
- babel-repl
- create-react-app-typescript
- create-react-app
- custom
- cxjs
- dojo
- parcel
- preact-cli
- reason
- svelte
- vue-cli
- transpilers
- babel
- worker
- base64
- binary
- coffee
- json
- less
- noop
- pug
- raw
- reason
- style
- stylus
- svelte
- svgr
- typescript
- vue
- css-loader
- selector
- style-compiler
- style-loader
- template-compiler
- status-screen
- codesandbox-api
- common
- src
- components
- AutosizeInput
- AutosizeTextArea
- Button
- Checkbox
- CommunityBadges
- ContributorsBadge
- CustomTemplate
- FeaturedSandbox
- GithubBadge
- Input
- Notice
- PatronStar
- Preference
- PreferenceKeybinding
- Preview
- ProgressButton
- RunOnClick
- SandboxCard
- Tooltip
- WideSandbox
- templates
- configuration
- devtools
- utils
- diff/__tests__
- dynamic-pages
- components
- screens/Profile/Badges
- homepage
- plugins/remark-sections
- src
- components
- pages
- screens
- explore
- Modal
- home
- Animation
- Frameworks
- NPMFeature
- templates
- node-services
- react-embed
- standalone-packages
- react-sandpack
- sandpack
- vscode-textmate
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
292 files changed
+1292
-870
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
25 | 44 | | |
26 | 45 | | |
| 46 | + | |
27 | 47 | | |
28 | 48 | | |
29 | 49 | | |
| |||
52 | 72 | | |
53 | 73 | | |
54 | 74 | | |
55 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
56 | 84 | | |
57 | 85 | | |
58 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | | - | |
75 | | - | |
| 75 | + | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
89 | 102 | | |
90 | 103 | | |
91 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
146 | | - | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
313 | 314 | | |
314 | 315 | | |
315 | 316 | | |
316 | | - | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
| |||
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
361 | | - | |
| 362 | + | |
| 363 | + | |
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
| |||
385 | 387 | | |
386 | 388 | | |
387 | 389 | | |
388 | | - | |
| 390 | + | |
| 391 | + | |
389 | 392 | | |
390 | 393 | | |
391 | 394 | | |
392 | 395 | | |
393 | | - | |
| 396 | + | |
| 397 | + | |
394 | 398 | | |
395 | | - | |
| 399 | + | |
| 400 | + | |
396 | 401 | | |
397 | 402 | | |
398 | 403 | | |
399 | 404 | | |
400 | | - | |
| 405 | + | |
| 406 | + | |
401 | 407 | | |
402 | 408 | | |
403 | 409 | | |
| |||
441 | 447 | | |
442 | 448 | | |
443 | 449 | | |
444 | | - | |
| 450 | + | |
445 | 451 | | |
446 | 452 | | |
447 | 453 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments