Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 41 additions & 2 deletions bacon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,51 @@
#
# Complete help on configuration: https://dystroy.org/bacon/config/

default_job = "eslint-server"
default_job = "biome-libs"

[jobs.eslint-server]
[jobs.biome-libs]
env.RAYON_NUM_THREADS = "1" # for reproducible order
command = [
"npx", "@biomejs/biome", "lint",
"--colors", "force",
"./libs",
"--skip", "complexity/useArrowFunction",
"--skip", "style/useTemplate",
]
need_stdout = true
analyzer = "biome"
watch = ["libs"]

[jobs.biome-client]
env.RAYON_NUM_THREADS = "1" # for reproducible order
command = [
"npx", "@biomejs/biome", "lint",
"--colors", "force",
"./src",
"--skip", "complexity/useArrowFunction",
"--skip", "style/useTemplate",
"--skip", "style/noArguments",
"--skip", "style/useConst",
"--skip", "suspicious/noRedundantUseStrict",
"--skip", "style/useSingleVarDeclarator",
"--skip", "complexity/noForEach",
"--skip", "style/noParameterAssign",
"--skip", "complexity/useLiteralKeys",
"--skip", "suspicious/noAssignInExpressions", # TODO clean
]
need_stdout = true
analyzer = "biome"
watch = [
"libs",
"biome.json",
]


[jobs.eslint-libs]
command = ["npx", "eslint", "--color", "libs/*"]
need_stdout = true
analyzer = "eslint"
watch = ["libs"]

[keybindings]
c = "job:biome-client"
8 changes: 8 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"files": {
"ignore": [
"jquery-*.js",
"prettify/*"
]
}
}
103 changes: 103 additions & 0 deletions graphics/M-14.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
97 changes: 97 additions & 0 deletions graphics/M-simple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading