@howells/lint 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/run-manypkg-command.mjs +0 -0
- package/oxlint/boundaries.mjs +11 -3
- package/package.json +91 -91
package/README.md
CHANGED
|
@@ -163,7 +163,7 @@ export default defineConfig({
|
|
|
163
163
|
});
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
Run boundary configs from the monorepo root so element patterns such as `apps
|
|
166
|
+
Run boundary configs from the monorepo root so element patterns such as `apps/*` and `packages/*` match each workspace member as a single architectural element.
|
|
167
167
|
|
|
168
168
|
Mixed monorepo with a Next.js app and Node-only packages:
|
|
169
169
|
|
|
File without changes
|
package/oxlint/boundaries.mjs
CHANGED
|
@@ -11,12 +11,13 @@ export const boundarySettings = {
|
|
|
11
11
|
},
|
|
12
12
|
typescript: {
|
|
13
13
|
alwaysTryTypes: true,
|
|
14
|
+
noWarnOnMultipleProjects: true,
|
|
14
15
|
project: ["tsconfig.json", "apps/*/tsconfig.json", "packages/*/tsconfig.json"],
|
|
15
16
|
},
|
|
16
17
|
},
|
|
17
18
|
"boundaries/elements": [
|
|
18
|
-
{ type: "app", pattern: "apps
|
|
19
|
-
{ type: "package", pattern: "packages
|
|
19
|
+
{ type: "app", pattern: "apps/*", capture: ["name"] },
|
|
20
|
+
{ type: "package", pattern: "packages/*", capture: ["name"] },
|
|
20
21
|
],
|
|
21
22
|
};
|
|
22
23
|
|
|
@@ -34,7 +35,14 @@ export const boundaryRules = {
|
|
|
34
35
|
},
|
|
35
36
|
{
|
|
36
37
|
from: { type: "app" },
|
|
37
|
-
disallow: [
|
|
38
|
+
disallow: [
|
|
39
|
+
{
|
|
40
|
+
to: {
|
|
41
|
+
type: "app",
|
|
42
|
+
captured: { name: "!{{ from.captured.name }}" },
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
],
|
|
38
46
|
message: "Apps must not import from other apps.",
|
|
39
47
|
},
|
|
40
48
|
],
|
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
2
|
+
"name": "@howells/lint",
|
|
3
|
+
"version": "0.2.4",
|
|
4
|
+
"description": "Pinned Biome, Oxlint/Oxfmt, Ultracite, and React Doctor presets for Howells projects.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=22.18.0"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"biome/*.json",
|
|
11
|
+
"oxfmt/*.d.mts",
|
|
12
|
+
"oxfmt/*.mjs",
|
|
13
|
+
"oxlint/*.d.mts",
|
|
14
|
+
"oxlint/*.mjs",
|
|
15
|
+
"bin/*.mjs",
|
|
16
|
+
"docs/**/*.md",
|
|
17
|
+
"CONTEXT.md",
|
|
18
|
+
"README.md",
|
|
19
|
+
"MIGRATIONS.md"
|
|
20
|
+
],
|
|
21
|
+
"bin": {
|
|
22
|
+
"howells-biome": "bin/howells-biome.mjs",
|
|
23
|
+
"howells-lint": "bin/howells-lint.mjs",
|
|
24
|
+
"howells-lint-strict": "bin/howells-lint-strict.mjs",
|
|
25
|
+
"howells-format": "bin/howells-format.mjs",
|
|
26
|
+
"howells-ox-check": "bin/howells-ox-check.mjs",
|
|
27
|
+
"howells-ox-fix": "bin/howells-ox-fix.mjs",
|
|
28
|
+
"howells-oxfmt": "bin/howells-oxfmt.mjs",
|
|
29
|
+
"howells-oxlint": "bin/howells-oxlint.mjs",
|
|
30
|
+
"howells-ultracite": "bin/howells-ultracite.mjs",
|
|
31
|
+
"howells-workspace-check": "bin/howells-workspace-check.mjs",
|
|
32
|
+
"howells-workspace-fix": "bin/howells-workspace-fix.mjs"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@biomejs/biome": "2.4.15",
|
|
36
|
+
"@manypkg/cli": "^0.25.1",
|
|
37
|
+
"eslint": "10.4.1",
|
|
38
|
+
"eslint-import-resolver-typescript": "4.4.4",
|
|
39
|
+
"eslint-plugin-boundaries": "6.0.2",
|
|
40
|
+
"oxc-parser": "0.133.0",
|
|
41
|
+
"oxfmt": "0.51.0",
|
|
42
|
+
"oxlint": "1.66.0",
|
|
43
|
+
"oxlint-plugin-react-doctor": "0.4.0",
|
|
44
|
+
"oxlint-tsgolint": "0.23.0",
|
|
45
|
+
"ultracite": "7.8.1"
|
|
46
|
+
},
|
|
47
|
+
"exports": {
|
|
48
|
+
"./package.json": "./package.json",
|
|
49
|
+
"./biome/core": "./biome/core.json",
|
|
50
|
+
"./biome/react": "./biome/react.json",
|
|
51
|
+
"./biome/next": "./biome/next.json",
|
|
52
|
+
"./oxfmt": {
|
|
53
|
+
"types": "./oxfmt/index.d.mts",
|
|
54
|
+
"default": "./oxfmt/index.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./oxlint/core": {
|
|
57
|
+
"types": "./oxlint/core.d.mts",
|
|
58
|
+
"default": "./oxlint/core.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./oxlint/react": {
|
|
61
|
+
"types": "./oxlint/react.d.mts",
|
|
62
|
+
"default": "./oxlint/react.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./oxlint/next": {
|
|
65
|
+
"types": "./oxlint/next.d.mts",
|
|
66
|
+
"default": "./oxlint/next.mjs"
|
|
67
|
+
},
|
|
68
|
+
"./oxlint/boundaries": {
|
|
69
|
+
"types": "./oxlint/boundaries.d.mts",
|
|
70
|
+
"default": "./oxlint/boundaries.mjs"
|
|
71
|
+
},
|
|
72
|
+
"./oxlint/react-doctor-rules": {
|
|
73
|
+
"types": "./oxlint/react-doctor-rules.d.mts",
|
|
74
|
+
"default": "./oxlint/react-doctor-rules.mjs"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"main": "index.js",
|
|
78
|
+
"repository": {
|
|
79
|
+
"type": "git",
|
|
80
|
+
"url": "git+https://github.com/howells/lint.git"
|
|
81
|
+
},
|
|
82
|
+
"keywords": [],
|
|
83
|
+
"author": "",
|
|
84
|
+
"type": "commonjs",
|
|
85
|
+
"bugs": {
|
|
86
|
+
"url": "https://github.com/howells/lint/issues"
|
|
87
|
+
},
|
|
88
|
+
"homepage": "https://github.com/howells/lint#readme",
|
|
89
|
+
"scripts": {
|
|
90
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
91
|
+
}
|
|
92
|
+
}
|