forked from schpet/linear-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rules
More file actions
29 lines (21 loc) · 1.02 KB
/
.rules
File metadata and controls
29 lines (21 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## basics
- this is a deno app
- after editing any graphql documents, run `deno task codegen` to get the
updated types after it's updated,
`const result = await client.request(query, { teamId });` should work and be
typed (and not require explicit types)
- graphql/schema.graphql has the graphql schema document for linear's api
- for diagnostics, use `deno check` and `deno lint` (and not tsc directly)
- when coloring or styling terminal text, use deno's support for css style
formatting, e.g. console.log("%cHello World", "color: red"); or
console.log("%cHello World", "text-decoration: underline");
## changelog entries
do not update the CHANGELOG.md manually. if asked to add a changelog entry use
the changelog cli
changelog add --type <TYPE> <DESCRIPTION>
description should be lowercase. types is one of
added|changed|deprecated|removed|fixed|security
## tests
tests on commands should mirror the directory structure of the src, e.g.
src/commands/issue/issue-view.ts
test/commands/issue/issue-view.test.ts