Skip to content

Commit 1256ee6

Browse files
authored
Ported many (not all) components to TS
1 parent 31e8243 commit 1256ee6

38 files changed

+573
-611
lines changed

fs/fs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,5 @@ type FsOption struct {
216216
type FsOptionsList struct {
217217
Label string `json:"label"`
218218
Required []FsOption `json:"required"`
219-
Optional []FsOption `json:"optional"`
219+
Optional []FsOption `json:"optional,omitempty"`
220220
}

ui/.eslintignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
dist
33

44
# Files from the Go runtime
5-
src/wasm_exec.js
5+
src/sw/wasm_exec.js

ui/.eslintrc.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable quote-props */
2+
13
module.exports = {
24
env: {
35
es6: true,
@@ -166,12 +168,13 @@ module.exports = {
166168
'error',
167169
'always'
168170
],
169-
'no-multiple-empty-lines': [
171+
// Disable this because itìs incompatible with svelte
172+
/*'no-multiple-empty-lines': [
170173
'error',
171174
{
172175
max: 1
173176
}
174-
],
177+
],*/
175178
'operator-linebreak': [
176179
'error',
177180
'after'

0 commit comments

Comments
 (0)