-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.precious.toml
More file actions
53 lines (50 loc) · 865 Bytes
/
.precious.toml
File metadata and controls
53 lines (50 loc) · 865 Bytes
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
[commands.prettier-scripts]
type = "both"
cmd = [
"npx",
"prettier",
"--parser",
"typescript"
]
lint-flags = ["--check"]
tidy-flags = ["--write"]
path-args = "absolute-file"
include = ["src/**/*.ts"]
ok-exit-codes = 0
[commands.prettier-json]
type = "both"
cmd = [
"npx",
"prettier",
"--parser",
"json"
]
lint-flags = ["--check"]
tidy-flags = ["--write"]
path-args = "absolute-file"
include = ["**/*.json"]
ok-exit-codes = 0
[commands.eslint-scripts]
type = "both"
cmd = [
"npx",
"eslint",
"--config",
"eslint.config.mjs",
]
lint-flags = []
tidy-flags = ["--fix"]
path-args = "absolute-file"
include = ["src/**/*.ts", "src/**/*.js", "e2e/**/*.ts", "e2e/**/*.js"]
ok-exit-codes = 0
[commands.tsc-scripts]
type = "lint"
cmd = [
"npx",
"tsc",
"--noEmit"
]
include = ["src/**/*.ts"]
invoke = "once"
path-args = "none"
ok-exit-codes = 0