Commit b0306dd
committed
refactor: update code to latest eslint-config and rules
refactor(core): do not use vitest deprecated methods
refactor(core): disable unneeded react/prop-types eslint rule
refactor(core): fix prefer-global-this
refactor(core): fix do not use typeof === undefined
refactor(core): fix unicorn number eslint rules
refactor(core): fix no-this-assignment and prefer-class-fields
refactor(core): fix unicorn DOM eslint rules
refactor(core): fix prefer-add-event-listener
refactor(core): fix no-instanceof-builtins
refactor(core): fix error message eslint rules
refactor(core): fix no-lonely-if eslint rule
refactor(core): fix unicorn string related eslint rules
refactor(core): fix unicorn array length eslint rules
refactor(core): fix no-array-for-each
refactor(core): fix no-for-loop
refactor(core): fix no-array-reduce
refactor(core): fix remaining array like eslint rules
refactor(core): fix prefer spread
refactor(core): fix prefer-switch
refactor(core): fix a more unicorn eslint rules
chore(core): bump eslint-config to latest
refactor(docs-generator): update eslint rules
refactor(code): update eslint config
refactor(playground): update eslint-config
refactor(docs): update eslint config1 parent 8a12a0f commit b0306dd
File tree
355 files changed
+2353
-1903
lines changed- .changeset
- apps
- docs
- scripts
- sassdoc-utils
- src
- app
- (layout-examples)/layout-example/[layout]
- (main)
- (markdown)
- (apidocs)
- hooks/use-intersection-observer
- sassdoc/[group]
- (demos)
- components
- autocomplete
- box
- chip
- icon
- progress
- responsive-item
- skeleton-placeholder
- slider
- snackbar
- table
- tabs
- text-field
- tooltip
- tree
- hooks/use-file-upload
- blog
- customization
- colors
- sass-theme-api
- testing
- quickstart
- recipes
- test-utils
- components/material-icons-and-symbols
- components
- CustomTheme
- DemoCode
- FilePreview
- PackageManagerCodeBlock
- StackBlitz
- WebsiteSearch
- constants
- utils
- playground
- packages
- codemod
- code
- src
- prettier
- core
- src
- __tests__
- app-bar/__tests__
- autocomplete
- __tests__
- box
- __tests__
- button
- __tests__
- chip
- datetime
- __tests__
- dialog/__tests__
- draggable
- __tests__
- error-boundary/__tests__
- expansion-panel
- files
- __tests__
- focus
- form
- __tests__
- hoverMode
- icon
- __tests__
- interaction
- __tests__
- layout
- __tests__
- link/__tests__
- list
- __tests__
- media-queries
- __tests__
- movement
- __tests__
- overlay/__tests__
- portal
- __tests__
- positioning
- __tests__
- responsive-item/__tests__
- scroll
- searching
- __tests__
- snackbar
- __tests__
- spinbutton
- utils
- __tests__
- storage
- __tests__
- suspense/__tests__
- table
- __tests__
- tabs
- __tests__
- test-utils
- jest-globals
- mocks
- __tests__
- polyfills
- queries
- utils
- vitest
- theme
- __tests__
- tooltip
- __tests__
- transition
- __tests__
- tree
- __tests__
- typography
- __tests__
- __snapshots__
- utils
- __tests__
- docs-generator
- src
- scripts
- algolia
- utils
- eslint-config
- material-icons/scripts
- sassdoc-generator
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
355 files changed
+2353
-1903
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 10 | | |
16 | 11 | | |
17 | 12 | | |
18 | 13 | | |
19 | 14 | | |
20 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 40 | | |
48 | 41 | | |
49 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
9 | 28 | | |
10 | 29 | | |
11 | | - | |
12 | 30 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | | - | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
45 | | - | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | | - | |
24 | | - | |
0 commit comments