diff options
Diffstat (limited to 'docs/notes.txt')
-rw-r--r-- | docs/notes.txt | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/docs/notes.txt b/docs/notes.txt new file mode 100644 index 0000000..bba644c --- /dev/null +++ b/docs/notes.txt | |||
@@ -0,0 +1,55 @@ | |||
1 | VFS | ||
2 | --- | ||
3 | - do all the IO in one place | ||
4 | - pass file handles around | ||
5 | |||
6 | Interface | ||
7 | --------- | ||
8 | - load files to be read as VFS | ||
9 | - path interner | ||
10 | - traits to go from Report to text/errfmt | ||
11 | - offline documentation/explaination for lints | ||
12 | |||
13 | Fix | ||
14 | --- | ||
15 | - multipass runner with hare & tortoise for cycle detection | ||
16 | - fix all possible suggestions | ||
17 | - work with a config generated by CLI | ||
18 | - read data from VFS | ||
19 | - produce a Report | ||
20 | |||
21 | Analysis | ||
22 | -------- | ||
23 | - work with a config generated by CLI | ||
24 | - read data from VFS | ||
25 | - produce a Report | ||
26 | |||
27 | Tests | ||
28 | ----- | ||
29 | - figure out a way to generate stable singleline output for | ||
30 | analysis tests | ||
31 | - use stderr tests for fixes | ||
32 | |||
33 | Lint ideas | ||
34 | ---------- | ||
35 | - unused let bindings | ||
36 | - unused rec | ||
37 | - invalid or potentially risky string interpolations | ||
38 | - useless parens in infix exprs | ||
39 | - unused function params | ||
40 | - manual map over list | ||
41 | - merge inherit | ||
42 | - merge inherit-from | ||
43 | - empty inherit | ||
44 | - useless antiquote/splice (where is antiquote truly | ||
45 | required?) | ||
46 | - useless variadic (things like `{...} : expr`, replace with | ||
47 | `_: expr`) | ||
48 | - redundant pattern `{...} @ inputs : expr`, replace with | ||
49 | `inputs: expr` | ||
50 | - useless hasAttr: `if x ? a then x.a else default` can be | ||
51 | replaced with `x.a or default` | ||
52 | |||
53 | Extensions | ||
54 | ---------- | ||
55 | - vim plugin to populate location list with errors | ||