@mslmio/eslint-config 1.0.0 → 1.0.1
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 +4 -0
- package/package.json +69 -70
- package/rules/no-upward-import.js +0 -0
package/README.md
CHANGED
|
@@ -73,6 +73,10 @@ workspace root — the directory holding every tier as a child — rather than l
|
|
|
73
73
|
containing one of `typeDirs` is a leaf. So adding a leaf needs no config change, and no package has
|
|
74
74
|
to hold a list of its siblings.
|
|
75
75
|
|
|
76
|
+
A file's namespace is its top-level directory under that root, so neither the path the workspace is
|
|
77
|
+
checked out at nor the package's own name changes the verdict. Outside a workspace there is no root,
|
|
78
|
+
and a scoped package's scope is its namespace.
|
|
79
|
+
|
|
76
80
|
## Ignores
|
|
77
81
|
|
|
78
82
|
`house`, and so every preset, globally ignores `.design-sync/**`, `.ds-sync/**` and
|
package/package.json
CHANGED
|
@@ -1,73 +1,72 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
"name": "@mslmio/eslint-config",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Shareable ESLint flat config and house rules: US spelling, library hygiene, workspace layering, and Tailwind/React conventions.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"eslint",
|
|
7
|
+
"eslintconfig",
|
|
8
|
+
"eslint-config",
|
|
9
|
+
"eslint-plugin",
|
|
10
|
+
"flat-config",
|
|
11
|
+
"typescript",
|
|
12
|
+
"monorepo",
|
|
13
|
+
"layering",
|
|
14
|
+
"tailwind",
|
|
15
|
+
"react"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"homepage": "https://github.com/mslmio/eslint-config",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/mslmio/eslint-config.git"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/mslmio/eslint-config/issues"
|
|
25
|
+
},
|
|
26
|
+
"type": "module",
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public",
|
|
29
|
+
"registry": "https://registry.npmjs.org/"
|
|
30
|
+
},
|
|
31
|
+
"exports": {
|
|
32
|
+
".": "./index.js",
|
|
33
|
+
"./ui": "./ui.js",
|
|
34
|
+
"./plugin": "./plugin.js"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"index.js",
|
|
38
|
+
"ui.js",
|
|
39
|
+
"plugin.js",
|
|
40
|
+
"rules/*.js",
|
|
41
|
+
"README.md",
|
|
42
|
+
"LICENSE"
|
|
43
|
+
],
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"eslint": ">=9.30.0",
|
|
46
|
+
"@shadcn/lint": "^0.1.0",
|
|
47
|
+
"eslint-plugin-react-hooks": "^5.2.0"
|
|
48
|
+
},
|
|
49
|
+
"peerDependenciesMeta": {
|
|
50
|
+
"@shadcn/lint": {
|
|
51
|
+
"optional": true
|
|
22
52
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
"type": "module",
|
|
27
|
-
"packageManager": "pnpm@11.1.0",
|
|
28
|
-
"publishConfig": {
|
|
29
|
-
"access": "public",
|
|
30
|
-
"registry": "https://registry.npmjs.org/"
|
|
31
|
-
},
|
|
32
|
-
"exports": {
|
|
33
|
-
".": "./index.js",
|
|
34
|
-
"./ui": "./ui.js",
|
|
35
|
-
"./plugin": "./plugin.js"
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"index.js",
|
|
39
|
-
"ui.js",
|
|
40
|
-
"plugin.js",
|
|
41
|
-
"rules/*.js",
|
|
42
|
-
"README.md",
|
|
43
|
-
"LICENSE"
|
|
44
|
-
],
|
|
45
|
-
"scripts": {
|
|
46
|
-
"test": "node --test test/*.test.js",
|
|
47
|
-
"pub-dryrun": "pnpm run lint && pnpm publish --no-git-checks --dry-run",
|
|
48
|
-
"pub": "pnpm run lint && pnpm publish --no-git-checks",
|
|
49
|
-
"lint": "eslint"
|
|
50
|
-
},
|
|
51
|
-
"peerDependencies": {
|
|
52
|
-
"eslint": ">=9.30.0",
|
|
53
|
-
"@shadcn/lint": "^0.1.0",
|
|
54
|
-
"eslint-plugin-react-hooks": "^5.2.0"
|
|
55
|
-
},
|
|
56
|
-
"peerDependenciesMeta": {
|
|
57
|
-
"@shadcn/lint": {
|
|
58
|
-
"optional": true
|
|
59
|
-
},
|
|
60
|
-
"eslint-plugin-react-hooks": {
|
|
61
|
-
"optional": true
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"dependencies": {
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "8.70.0",
|
|
66
|
-
"@typescript-eslint/parser": "8.70.0"
|
|
67
|
-
},
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"eslint": "^9.39.4",
|
|
70
|
-
"@shadcn/lint": "0.1.0",
|
|
71
|
-
"eslint-plugin-react-hooks": "^5.2.0"
|
|
53
|
+
"eslint-plugin-react-hooks": {
|
|
54
|
+
"optional": true
|
|
72
55
|
}
|
|
73
|
-
}
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "8.70.0",
|
|
59
|
+
"@typescript-eslint/parser": "8.70.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"eslint": "^9.39.4",
|
|
63
|
+
"@shadcn/lint": "0.1.0",
|
|
64
|
+
"eslint-plugin-react-hooks": "^5.2.0"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"test": "node --test test/*.test.js",
|
|
68
|
+
"pub-dryrun": "pnpm run lint && pnpm publish --no-git-checks --dry-run",
|
|
69
|
+
"pub": "pnpm run lint && pnpm publish --no-git-checks",
|
|
70
|
+
"lint": "eslint"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
Binary file
|