Commit 528b74d
committed
chore: fix all lint warnings across codebase
Resolve 86 lint warnings reported by vp check: prefix unused
variables/params with _, remove unused catch bindings, delete unused
imports, convert ternary-as-statement to if/else, add missing JSX keys,
fix React hook dependency arrays, wrap handlers in useCallback, and
suppress intentional lint exceptions.1 parent 8d93c35 commit 528b74d
57 files changed
Lines changed: 130 additions & 87 deletions
File tree
- docs
- app
- (home)
- [...slug]
- demo/_components
- docs
- examples
- components
- emails
- examples
- 01-basic
- 02-block-objects/src
- 05-removing-default-blocks/src
- 13-custom-paste-handler/src
- 03-ui-components
- 11-uppy-file-panel/src
- 13-custom-ui/src
- 05-interoperability
- 05-converting-blocks-to-pdf/src
- 08-converting-blocks-to-react-email/src
- 09-blocks-to-html-static-render/src
- 06-custom-schema
- 01-alert-block/src
- 05-alert-block-full-ux/src
- react-custom-styles/src
- 07-collaboration/07-ghost-writer/src
- 09-ai
- 04-with-collaboration/src
- 07-server-persistence/src
- vanilla-js/react-vanilla-custom-styles/src
- packages
- ariakit/src
- comments
- panel
- toolbar
- core/src
- api/blockManipulation/commands/updateBlock
- util
- mantine/src
- comments
- popover
- suggestionMenu/gridSuggestionMenu
- react/src
- blocks/File
- components
- ColorPicker
- Comments
- FilePanel/DefaultTabs
- FormattingToolbar/DefaultButtons
- hooks
- util
- shadcn/src
- comments
- form
- panel
- popover
- xl-ai/src/api/formats/html-blocks
- xl-odt-exporter/src/odt
- defaultSchema
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments