mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: run vfmt, add it to v test-cleancode
This commit is contained in:
@@ -66,6 +66,7 @@ const (
|
||||
'vlib/semver/',
|
||||
'vlib/strings/',
|
||||
'vlib/time/',
|
||||
'vlib/vweb/',
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@ const (
|
||||
known_failing_exceptions = [
|
||||
'vlib/crypto/aes/const.v',
|
||||
/* multiple narrow columns of []string turned to 1 long single column, otherwise works */
|
||||
'vlib/vweb/vweb.v',
|
||||
/* $for method in T.methods { => $for method in T(methods) { , `return // xx` => parse expr error */
|
||||
'vlib/v/gen/js/tests/life.v',
|
||||
/* error: unexpected `,`, expecting ), on JS.setInterval(fn () { show(game) game = step(game) }, 500) */
|
||||
'vlib/builtin/js/builtin.v',
|
||||
@@ -17,11 +15,10 @@ const (
|
||||
'vlib/builtin/js/jsfns_node.js.v',
|
||||
'vlib/builtin/js/jsfns.js.v',
|
||||
'vlib/builtin/js/jsfns_browser.js.v',
|
||||
'vlib/builtin/bare/linuxsys_bare.v',
|
||||
/* error: expr(): bad token `asm`, on `asm {}` */
|
||||
'vlib/picoev/picoev.v',
|
||||
'vlib/builtin/bare/linuxsys_bare.v',
|
||||
/* the fn args are removed, then `cb fn (picohttpparser.Request, mut picohttpparser.Response)` can not be reparsed */
|
||||
'vlib/os/os.v' /* os.v - `a := [ c'/bin/sh', c'-c', byteptr(cmd.str), 0 ]` */,
|
||||
'vlib/picoev/picoev.v',
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user