Commit b7dd624
prettify+eslint codebase (#1387)
* added prettier and ran `npx prettier ./samples/ -w`
* clean up library typecasting + fix prettier errors + remove some ts/prettier ignore lines
* remove typecasts from querySelector calls
* clean up library typecasting + fix prettier errors + remove some ts/prettier ignore lines
* added prettier and ran `npx prettier ./samples/ -w`
* add Prettier Check to test action
* for all ts file in /samples/ for all queryselector calls use ! to narrow the returned type to non-nullable
* remove more typecasting
* manually fix ts errors
* fix json
* exclude fewer files from prettifying and run
* ran `npx eslint --fix`
* manual fixes for eslint
* fix or disable remaining eslint errors
* comment spacing enforcement
* remove and cleanup for @ts-nocheck
* check eslint test action
* prettify output code too
make newlines preserve in TS->JS
make build-all fail on any failures
simplify cross-platform sed calls
other misc prettifying
start enforcing no google.maps usage in runtime
* more google.maps.* removal
* fix status code check
do simple tests first
* fix even more build/typings issues
* bootstrap normalization
* further build fixes
* enforce maps js async
* temporarily skip certain checks
* fix: Adds exclude-dir for node_modules.
* DRY up build_single.sh
---------
Co-authored-by: William French <dubnewt@gmail.com>1 parent d160576 commit b7dd624
743 files changed
Lines changed: 105963 additions & 28982 deletions
File tree
- .github
- workflows
- assets
- dist/samples
- 3d-accessibility-features
- app
- dist
- docs
- jsfiddle
- 3d-camera-center
- app
- dist
- docs
- jsfiddle
- boundaries-simple/app
- map-simple
- app
- dist
- docs
- jsfiddle
- docs
- e2e
- samples
- 3d-accessibility-features
- 3d-camera-boundary
- 3d-camera-center
- 3d-camera-to-around
- 3d-clamp-mode
- 3d-coverage-map
- 3d-label-toggle
- 3d-localization
- 3d-map-45-degree
- 3d-map-events
- 3d-map-roadmap
- 3d-map-styling
- 3d-marker-click-event
- 3d-marker-collision-behavior
- 3d-marker-customization
- 3d-marker-graphics
- 3d-marker-html
- 3d-marker-interactive
- 3d-mesh-flatten
- 3d-model-interactive
- 3d-model
- 3d-places-autocomplete
- 3d-places
- 3d-polygon-click-event
- 3d-polygon-extruded-hole
- 3d-polygon
- 3d-polyline-click-event
- 3d-polyline-extruded
- 3d-polyline
- 3d-popover-location
- 3d-popover-marker
- 3d-simple-map-declarative
- 3d-simple-map
- 3d-simple-marker
- add-map
- address-validation
- advanced-markers-accessibility
- advanced-markers-altitude
- advanced-markers-animation
- advanced-markers-basic-style
- advanced-markers-collision
- advanced-markers-draggable
- advanced-markers-graphics
- advanced-markers-html-simple
- advanced-markers-html
- advanced-markers-simple
- advanced-markers-zoom
- ai-powered-summaries-basic
- ai-powered-summaries
- boundaries-choropleth
- boundaries-click
- boundaries-simple
- boundaries-text-search
- circle-simple
- control-bounds-restriction
- control-custom-state
- control-disableUI
- control-options
- control-positioning-labels
- control-positioning
- control-replacement
- control-simple
- dds-datasets-point
- dds-datasets-polygon-click
- dds-datasets-polygon-colors
- dds-datasets-polygon
- dds-datasets-polyline
- dds-region-viewer
- src
- deckgl-arclayer
- public
- deckgl-heatmap
- deckgl-kml-updated
- deckgl-kml
- deckgl-points
- deckgl-polygon
- deckgl-tripslayer
- public
- event-arguments
- event-click-latlng
- event-closure
- event-poi
- event-properties
- event-simple
- geocoding-component-restriction
- geocoding-place-id
- geocoding-region-es
- geocoding-region-us
- geocoding-reverse
- geocoding-simple
- hiding-features
- infowindow-simple
- js-api-loader-map
- layer-data-event
- public
- layer-data-quakes-red
- public
- layer-data-quakes-simple
- public
- layer-data-simple
- public
- layer-data-style
- public
- map-events
- map-projection-simple
- map-simple-js
- map-simple
- place-autocomplete-basic-map
- place-autocomplete-data-session
- place-autocomplete-data-simple
- place-autocomplete-element
- place-autocomplete-map
- place-class
- place-nearby-search
- place-photos
- place-reviews
- place-text-search
- places-autocomplete-addressform
- places-placeid-finder
- polyline-complex
- polyline-remove
- polyline-simple
- react-ui-kit-place-details-compact
- src
- react-ui-kit-place-details-latlng-compact
- src
- react-ui-kit-place-details-latlng
- src
- react-ui-kit-place-details
- src
- react-ui-kit-search-nearby
- src
- react-ui-kit-search-text
- src
- rectangle-event
- routes-compute-routes
- routes-get-alternatives
- routes-get-directions-panel
- routes-get-directions
- routes-markers
- routes-route-matrix
- streetview-overlays
- test-example
- ui-kit-place-details-compact
- ui-kit-place-details
- ui-kit-place-search-nearby
- ui-kit-place-search-text
- weather-api-current-compact
- web-components-events
- web-components-map
- web-components-markers
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 | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
Lines changed: 25 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
111 | 123 | | |
112 | 124 | | |
113 | 125 | | |
114 | | - | |
| 126 | + | |
115 | 127 | | |
116 | 128 | | |
117 | 129 | | |
118 | 130 | | |
119 | 131 | | |
120 | 132 | | |
121 | | - | |
| 133 | + | |
122 | 134 | | |
123 | 135 | | |
124 | 136 | | |
| |||
162 | 174 | | |
163 | 175 | | |
164 | 176 | | |
165 | | - | |
| 177 | + | |
166 | 178 | | |
167 | 179 | | |
168 | 180 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments