Commit Graph

19 Commits (fd3a10ab4369d5193efe0d4adf3742352798f24e)

Author SHA1 Message Date
Lukas Neubert 6745a7d725
vet: allow vetting of vsh files (#9997) 2021-05-04 18:25:56 +03:00
Lukas Neubert 0b0a5de9e5
vet: hide skipped file messages behind verbose flag (#9823) 2021-04-20 17:20:50 +03:00
Lukas Neubert 46e7e27ba3
v vet: give an error for trailing whitespace (#9574) 2021-04-09 13:22:14 +03:00
Lukas Neubert 646d46b4dc
vet: turn warnings into errors with -W flag (#9575) 2021-04-03 18:30:15 +02:00
Alexander Medvednikov 7385f8e56b all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
Lukas Neubert 8b7085e050
vvet: big cleanup (#9454) 2021-03-24 23:53:44 +02:00
Delyan Angelov 9b78d7d21d
tools: check formatting of more modules with `v test-cleancode`, colorize `v vet` output 2021-03-24 12:39:39 +02:00
Lukas Neubert 39a9beb9e0
vet: add -W flag and detailed help (#9331) 2021-03-16 19:49:06 +02:00
Delyan Angelov 3e4e0a35e3
vvet: fix silent exit when invoked on a single .v file. 2021-02-04 17:23:58 +02:00
Delyan Angelov dbaccd4272
vfmt: shorten `main.const_name` to just `const_name` 2021-01-25 20:57:33 +02:00
Alexander Medvednikov 29d6e40f29 all: vfmt (new const rule) 2021-01-24 10:54:27 +01:00
Lukas Neubert 8b61891348
fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
Larpon ee663364de
vet: simplify fn name identifying, add warning for incomplete documentation (#8227) 2021-01-21 12:46:50 +01:00
Lukas Neubert ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Daniel Däschle 53941c4a0a
fmt: fix if cond break readability (#8132) 2021-01-16 02:12:17 +01:00
zakuro 33694665f0
fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
Larpon 93ad595ffb
vet: add suggestions for function documentation (#7890) 2021-01-10 18:48:39 +02:00
Delyan Angelov fb7a5ee3af
ci: fix warning for cmd/tools/vvet/vvet.v 2021-01-09 19:41:30 +02:00
Larpon 8f315d226b
vvet: move to own subdir, prepare richer suggestions (#7989) 2021-01-09 16:11:49 +02:00