-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbacon.toml
More file actions
57 lines (51 loc) · 1.44 KB
/
bacon.toml
File metadata and controls
57 lines (51 loc) · 1.44 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#:schema https://dystroy.org/bacon/.bacon.schema.json
# This is a configuration file for the bacon tool
#
# Complete help on configuration: https://dystroy.org/bacon/config/
#
# You may check the current default at
# https://github.com/Canop/bacon/blob/main/defaults/default-bacon.toml
default_job = "check"
# This requires https://github.com/Canop/bacon/pull/427
[jobs.check]
command = [
"pnpm", "exec", "tsc",
"--noEmit", "--pretty",
]
need_stdout = true
analyzer = "typescript"
watch = ["src"]
[jobs.lint]
command = [
"pnpm", "exec",
"eslint",
"--color", "src",
]
need_stdout = true
analyzer = "eslint"
watch = ["src"]
[jobs.pedantic]
env.RAYON_NUM_THREADS = "1" # for constant ordering of items
command = [
"pnpm", "dlx",
"@biomejs/biome", "lint",
"--colors", "force",
"./src",
# "--skip", "complexity/useArrowFunction",
# this leads to noise everytime we add a method to our interfaces..
"--skip", "style/useImportType",
# want to call our Error Error
"--skip", "suspicious/noShadowRestrictedNames",
# "--skip", "style/useTemplate",
]
need_stdout = true
analyzer = "biome"
watch = ["src"]
# You may define here keybindings that would be specific to
# a project, for example a shortcut to launch a specific job.
# Shortcuts to internal functions (scrolling, toggling, etc.)
# should go in your personal global prefs.toml file instead.
[keybindings]
c = "job:check"
l = "job:lint"
p = "job:pedantic"