@haltcase/style 8.0.0-canary.8 → 8.0.0

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.
Files changed (89) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +235 -0
  3. package/package.json +151 -172
  4. package/LICENSE.md +0 -382
  5. package/dist/types/eslint/configs/browser.d.ts +0 -8
  6. package/dist/types/eslint/configs/cjs.d.ts +0 -4
  7. package/dist/types/eslint/configs/internal/base.d.ts +0 -76
  8. package/dist/types/eslint/configs/internal/commonjs.d.ts +0 -4
  9. package/dist/types/eslint/configs/internal/es2015.d.ts +0 -4
  10. package/dist/types/eslint/configs/internal/simple-import-sort.d.ts +0 -4
  11. package/dist/types/eslint/configs/internal/tsdoc.d.ts +0 -4
  12. package/dist/types/eslint/configs/internal/unicorn.d.ts +0 -4
  13. package/dist/types/eslint/configs/internal/utils/typescript.d.ts +0 -6
  14. package/dist/types/eslint/configs/next.d.ts +0 -8
  15. package/dist/types/eslint/configs/node.d.ts +0 -8
  16. package/dist/types/eslint/configs/playwright-test.d.ts +0 -4
  17. package/dist/types/eslint/configs/react.d.ts +0 -8
  18. package/dist/types/eslint/configs/typescript.d.ts +0 -10
  19. package/dist/types/eslint/constants.d.ts +0 -14
  20. package/dist/types/eslint/index.d.ts +0 -12
  21. package/dist/types/eslint/rules/best-practice.d.ts +0 -5
  22. package/dist/types/eslint/rules/imports.d.ts +0 -5
  23. package/dist/types/eslint/rules/jsx-a11y.d.ts +0 -5
  24. package/dist/types/eslint/rules/playwright-test.d.ts +0 -8
  25. package/dist/types/eslint/rules/possible-errors.d.ts +0 -8
  26. package/dist/types/eslint/rules/react-x.d.ts +0 -8
  27. package/dist/types/eslint/rules/react.d.ts +0 -11
  28. package/dist/types/eslint/rules/stylistic-jsx.d.ts +0 -8
  29. package/dist/types/eslint/rules/stylistic.d.ts +0 -8
  30. package/dist/types/eslint/rules/typescript/extension.d.ts +0 -5
  31. package/dist/types/eslint/rules/typescript/import.d.ts +0 -5
  32. package/dist/types/eslint/rules/typescript/index.d.ts +0 -8
  33. package/dist/types/eslint/rules/typescript/naming-convention.d.ts +0 -5
  34. package/dist/types/eslint/rules/variables.d.ts +0 -8
  35. package/dist/types/eslint/withFiles.d.ts +0 -2
  36. package/dist/types/prettier/index.d.ts +0 -12
  37. package/dist/types/stylelint/_base.d.ts +0 -1
  38. package/dist/types/stylelint/index.d.ts +0 -2
  39. package/dist/types/stylelint/modules.d.ts +0 -2
  40. package/dist/types/stylelint/standard.d.ts +0 -1
  41. package/dist/types/stylelint/tailwind.d.ts +0 -2
  42. package/eslint/configs/browser.js +0 -27
  43. package/eslint/configs/cjs.js +0 -13
  44. package/eslint/configs/internal/base.js +0 -205
  45. package/eslint/configs/internal/commonjs.js +0 -22
  46. package/eslint/configs/internal/es2015.js +0 -72
  47. package/eslint/configs/internal/simple-import-sort.js +0 -27
  48. package/eslint/configs/internal/tsdoc.js +0 -20
  49. package/eslint/configs/internal/unicorn.js +0 -750
  50. package/eslint/configs/internal/utils/typescript.js +0 -53
  51. package/eslint/configs/next.js +0 -54
  52. package/eslint/configs/node.js +0 -27
  53. package/eslint/configs/playwright-test.js +0 -21
  54. package/eslint/configs/react.js +0 -114
  55. package/eslint/configs/typescript.js +0 -125
  56. package/eslint/constants.js +0 -27
  57. package/eslint/index.js +0 -33
  58. package/eslint/rules/best-practice.js +0 -256
  59. package/eslint/rules/imports.js +0 -94
  60. package/eslint/rules/jsx-a11y.js +0 -21
  61. package/eslint/rules/playwright-test.js +0 -27
  62. package/eslint/rules/possible-errors.js +0 -40
  63. package/eslint/rules/react-x.js +0 -78
  64. package/eslint/rules/react.js +0 -24
  65. package/eslint/rules/stylistic-jsx.js +0 -17
  66. package/eslint/rules/stylistic.js +0 -85
  67. package/eslint/rules/typescript/extension.js +0 -74
  68. package/eslint/rules/typescript/import.js +0 -23
  69. package/eslint/rules/typescript/index.js +0 -114
  70. package/eslint/rules/typescript/naming-convention.js +0 -121
  71. package/eslint/rules/variables.js +0 -36
  72. package/eslint/withFiles.js +0 -15
  73. package/prettier/index.js +0 -39
  74. package/readme.md +0 -415
  75. package/stylelint/_base.js +0 -45
  76. package/stylelint/index.js +0 -20
  77. package/stylelint/modules.js +0 -32
  78. package/stylelint/standard.js +0 -4
  79. package/stylelint/tailwind.js +0 -16
  80. package/typescript/tsconfig.base.json +0 -14
  81. package/typescript/tsconfig.bundler.json +0 -17
  82. package/typescript/tsconfig.next.json +0 -36
  83. package/typescript/tsconfig.node-ts.json +0 -10
  84. package/typescript/tsconfig.node.json +0 -4
  85. package/typescript/tsconfig.node18.json +0 -10
  86. package/typescript/tsconfig.node20.json +0 -11
  87. package/typescript/tsconfig.node22.json +0 -11
  88. package/typescript/tsconfig.node24.json +0 -17
  89. package/typescript/tsconfig.web.json +0 -8
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Bo Lingen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,235 @@
1
+ # `@haltcase/style` · [![npm version](https://img.shields.io/npm/v/@haltcase/style?style=flat-square)](https://npmx.dev/package/@haltcase/style) [![license](https://img.shields.io/npm/l/@haltcase/style?style=flat-square)](https://npmx.dev/package/@haltcase/style) [![@haltcase/style](https://img.shields.io/static/v1?label=style&message=haltcase&color=0ca5ed&style=flat-square)](https://haltcase.dev/style)
2
+
3
+ > Style guide and configurations for tools in the web ecosystem.
4
+
5
+ - [Oxlint](#oxlint)
6
+ - [Oxfmt](#oxfmt)
7
+ - [TypeScript](#typescript)
8
+ - [Stylelint](#stylelint)
9
+ - [Vite+](#vite)
10
+
11
+ > [!NOTE]
12
+ >
13
+ > This package only provides configurations. To use them, you must also install relevant tools like
14
+ > Oxlint and Oxfmt (or Vite+ which includes both).
15
+
16
+ ## Installation
17
+
18
+ Install `@haltcase/style` with your preferred package manager:
19
+
20
+ ```shell
21
+ pnpm add --save-dev @haltcase/style
22
+ ```
23
+
24
+ This package enables rules that require Oxlint v1.73.0+. If you're using Vite+, you may need to add
25
+ an override to ensure the correct version of Oxlint is used. For example, with pnpm, add the
26
+ following to your `pnpm-workspace.yaml`:
27
+
28
+ ```yaml
29
+ overrides:
30
+ "vite-plus>oxlint": "^1.73.0"
31
+ ```
32
+
33
+ Additionally, it uses ESLint `jsPlugins` that require TypeScript 6. If you otherwise use TypeScript
34
+ 7, you'll need to configure package aliases to install
35
+ [TypeScript 7 and TypeScript 6 side by side](https://devblogs.microsoft.com/typescript/announcing-typescript-7-0-rc/#running-side-by-side-with-typescript-6.0):
36
+
37
+ ```json
38
+ {
39
+ "devDependencies": {
40
+ "typescript": "npm:@typescript/typescript6@^6.0.0",
41
+ "typescript-7": "npm:typescript@rc"
42
+ }
43
+ }
44
+ ```
45
+
46
+ ## Usage
47
+
48
+ ### Oxlint
49
+
50
+ ```js
51
+ // oxlint.config.ts
52
+ import createOxlintConfig from "@haltcase/style/oxlint";
53
+
54
+ export default createOxlintConfig({
55
+ node: true
56
+ });
57
+ ```
58
+
59
+ Then, run `pnpm oxlint`.
60
+
61
+ ### Oxfmt
62
+
63
+ ```js
64
+ // oxfmt.config.ts
65
+ import createOxfmtConfig from "@haltcase/style/oxfmt";
66
+
67
+ export default createOxfmtConfig();
68
+ ```
69
+
70
+ Then, run `pnpm oxfmt`.
71
+
72
+ ### Vite+
73
+
74
+ If you use Vite+, configure both Oxlint and Oxfmt in `vite.config.ts`:
75
+
76
+ ```ts
77
+ // vite.config.ts
78
+ import { defineConfig } from "vite-plus";
79
+ import { createOxfmtConfig, createOxlintConfig } from "@haltcase/style";
80
+
81
+ export default defineConfig({
82
+ fmt: createOxfmtConfig(),
83
+ lint: createOxlintConfig({
84
+ node: true,
85
+ react: true
86
+ })
87
+ });
88
+ ```
89
+
90
+ Then, run `vp check`.
91
+
92
+ ### TypeScript
93
+
94
+ Several Typescript configs are available to cover various scenarios:
95
+
96
+ | Name | Description |
97
+ | ------------------------------------ | -------------------------------------------------------------------------------------------------------- |
98
+ | `@haltcase/style/typescript/base` | Baseline config, intended to be extended from. |
99
+ | `@haltcase/style/typescript/bundler` | For use in bundled projects, most commonly [Vite](https://vitejs.dev/) + [React](https://react.dev). |
100
+ | `@haltcase/style/typescript/next` | For use in [Next.js](https://nextjs.org/) projects. See the [Next.js](#nextjs) section for more details. |
101
+ | `@haltcase/style/typescript/node` | Default Node config, currently targeting Node 24. |
102
+ | `@haltcase/style/typescript/node-ts` | Addon for other Node configs for use with Node's built-in TypeScript support. |
103
+ | `@haltcase/style/typescript/node22` | For projects targeting Node 22. |
104
+ | `@haltcase/style/typescript/node24` | For projects targeting Node 24. |
105
+ | `@haltcase/style/typescript/web` | For use in web projects. |
106
+
107
+ Typically, you'll only need to extend from one of these:
108
+
109
+ ```jsonc
110
+ // tsconfig.json
111
+ {
112
+ "extends": "@haltcase/style/typescript/node"
113
+ }
114
+ ```
115
+
116
+ You can also combine them with an `extends` array:
117
+
118
+ ```jsonc
119
+ // tsconfig.json
120
+ {
121
+ "extends": ["@haltcase/style/typescript/node", "@haltcase/style/typescript/web"]
122
+ }
123
+ ```
124
+
125
+ > [!TIP]
126
+ >
127
+ > Run `tsc --showConfig` to see the result of the combined configs.
128
+
129
+ ### Stylelint
130
+
131
+ To format and check CSS with Stylelint, install the `stylelint` package and set your configuration
132
+ to extend from `@haltcase/style/stylelint`.
133
+
134
+ > [!NOTE]
135
+ >
136
+ > Stylelint is a peer dependency you'll need to install at the root of your project.
137
+ >
138
+ > See: https://stylelint.io/user-guide/get-started
139
+
140
+ Add the following in `package.json`:
141
+
142
+ ```json
143
+ {
144
+ "stylelint": {
145
+ "extends": "@haltcase/style/stylelint"
146
+ }
147
+ }
148
+ ```
149
+
150
+ > [!TIP]
151
+ >
152
+ > See the [Stylelint documentation](https://stylelint.io/user-guide/configure) for other
153
+ > configuration options.
154
+
155
+ #### Stylelint configs
156
+
157
+ There are several configs you can extend from. The default config does not enforce a specific naming
158
+ convention for classes, IDs, etc. This is intended to allow flexibility between conventional CSS,
159
+ where `kebab-case` is standard, and CSS Modules or CSS-in-JS, where `camelCase` is more common.
160
+
161
+ There are alternate entry points if you would like to enforce a specific naming convention:
162
+ `standard` for kebab case and `modules` for camel case.
163
+
164
+ | Name | Description |
165
+ | ------------------------------------ | --------------------------------------------------- |
166
+ | `@haltcase/style/stylelint` | Do not enforce a naming convention for identifiers. |
167
+ | `@haltcase/style/stylelint/modules` | Enforce `camelCase` identifiers. |
168
+ | `@haltcase/style/stylelint/standard` | Enforce conventional `kebab-case` identifiers. |
169
+
170
+ ##### Tailwind
171
+
172
+ If you use Tailwind, you can additionally extend from `@haltcase/style/stylelint/tailwind`:
173
+
174
+ ```json
175
+ {
176
+ "stylelint": {
177
+ "extends": ["@haltcase/style/stylelint", "@haltcase/style/stylelint/tailwind"]
178
+ }
179
+ }
180
+ ```
181
+
182
+ ### Specific workloads
183
+
184
+ #### Next.js
185
+
186
+ For Next.js projects, the `next` option defaults to `true` when the `next` package is detected.
187
+ However, you can set it manually:
188
+
189
+ ```ts
190
+ // oxlint.config.ts
191
+ import createOxlintConfig from "@haltcase/style/oxlint";
192
+
193
+ export default createOxlintConfig({
194
+ next: true
195
+ });
196
+ ```
197
+
198
+ See the [Oxlint section](#oxlint) for more details.
199
+
200
+ If you're using TypeScript, you can extend from the Next.js-specific config:
201
+
202
+ ```jsonc
203
+ // tsconfig.json
204
+ {
205
+ "extends": "@haltcase/style/typescript/next"
206
+ }
207
+ ```
208
+
209
+ #### TanStack Start and Router
210
+
211
+ For TanStack Start and Router projects, the `tanstackStart` and `tanstackRouter` options default to
212
+ `true` when the necessary packages are detected. However, you can set them manually:
213
+
214
+ ```ts
215
+ // oxlint.config.ts
216
+ import createOxlintConfig from "@haltcase/style/oxlint";
217
+
218
+ export default createOxlintConfig({
219
+ // Defaults to true if `@tanstack/react-router` and `@tanstack/eslint-plugin-router` are installed.
220
+ tanstackRouter: true,
221
+ // Defaults to true if `tanstackRouter` packages and `@tanstack/react-start` are installed.
222
+ tanstackStart: true
223
+ });
224
+ ```
225
+
226
+ See the [Oxlint section](#oxlint) for more details.
227
+
228
+ If you're using TypeScript, you can extend from the standard bundler config:
229
+
230
+ ```jsonc
231
+ // tsconfig.json
232
+ {
233
+ "extends": "@haltcase/style/typescript/bundler"
234
+ }
235
+ ```
package/package.json CHANGED
@@ -1,173 +1,152 @@
1
1
  {
2
- "name": "@haltcase/style",
3
- "version": "8.0.0-canary.8",
4
- "description": "haltcase's web ecosystem style guide & configurations",
5
- "keywords": [
6
- "eslint",
7
- "prettier",
8
- "typescript",
9
- "style",
10
- "eslint-config"
11
- ],
12
- "homepage": "https://github.com/haltcase/style#readme",
13
- "bugs": "https://github.com/haltcase/style/issues",
14
- "repository": {
15
- "type": "git",
16
- "url": "https://github.com/haltcase/style.git"
17
- },
18
- "license": "MPL-2.0",
19
- "author": "Bo Lingen <bo@haltcase.dev> (https://haltcase.dev)",
20
- "type": "module",
21
- "exports": {
22
- "./eslint": {
23
- "types": "./dist/types/eslint/index.d.ts",
24
- "default": "./eslint/index.js"
25
- },
26
- "./eslint/rules/*": {
27
- "types": "./dist/types/eslint/rules/*.d.ts",
28
- "default": "./eslint/rules/*.js"
29
- },
30
- "./eslint/rules/typescript": {
31
- "types": "./dist/types/eslint/rules/typescript/index.d.ts",
32
- "default": "./eslint/rules/typescript/index.js"
33
- },
34
- "./prettier": {
35
- "types": "./dist/types/prettier/index.d.ts",
36
- "default": "./prettier/index.js"
37
- },
38
- "./stylelint": {
39
- "types": "./dist/types/stylelint/index.d.ts",
40
- "default": "./stylelint/index.js"
41
- },
42
- "./stylelint/modules": {
43
- "types": "./dist/types/stylelint/modules.d.ts",
44
- "default": "./stylelint/modules.js"
45
- },
46
- "./stylelint/standard": {
47
- "types": "./dist/types/stylelint/standard.d.ts",
48
- "default": "./stylelint/standard.js"
49
- },
50
- "./stylelint/tailwind": {
51
- "types": "./dist/types/stylelint/tailwind.d.ts",
52
- "default": "./stylelint/tailwind.js"
53
- },
54
- "./typescript/base": "./typescript/tsconfig.base.json",
55
- "./typescript/bundler": "./typescript/tsconfig.bundler.json",
56
- "./typescript/next": "./typescript/tsconfig.next.json",
57
- "./typescript/node": "./typescript/tsconfig.node.json",
58
- "./typescript/node18": "./typescript/tsconfig.node18.json",
59
- "./typescript/node20": "./typescript/tsconfig.node20.json",
60
- "./typescript/node22": "./typescript/tsconfig.node22.json",
61
- "./typescript/web": "./typescript/tsconfig.web.json"
62
- },
63
- "files": [
64
- "dist",
65
- "eslint",
66
- "prettier",
67
- "stylelint",
68
- "typescript",
69
- "next"
70
- ],
71
- "scripts": {
72
- "eslint-check": "eslint --max-warnings=0 .",
73
- "format": "eslint --fix . && prettier --write .",
74
- "prepare": "husky",
75
- "prepublishOnly": "tsc",
76
- "prettier-check": "prettier --check .",
77
- "semantic-release": "semantic-release",
78
- "test": "echo \"Error: no test specified\" && exit 1"
79
- },
80
- "lint-staged": {
81
- "*.{js,jsx,ts,tsx,css,yml,yaml}": "pnpm prettier --write"
82
- },
83
- "prettier": "./prettier/index.js",
84
- "stylelint": {
85
- "extends": "./stylelint/index.js"
86
- },
87
- "dependencies": {
88
- "@babel/core": "^7.26.9",
89
- "@babel/eslint-parser": "^7.26.8",
90
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
91
- "@eslint-react/eslint-plugin": "^1.26.2",
92
- "@next/eslint-plugin-next": "^15.1.7",
93
- "@stylistic/eslint-plugin-jsx": "^4.2.0",
94
- "eslint-config-prettier": "^10.0.1",
95
- "eslint-import-resolver-alias": "^1.1.2",
96
- "eslint-import-resolver-typescript": "^4.3.4",
97
- "eslint-plugin-import-x": "^4.6.1",
98
- "eslint-plugin-jsx-a11y": "^6.10.2",
99
- "eslint-plugin-playwright": "^2.2.0",
100
- "eslint-plugin-react": "^7.37.4",
101
- "eslint-plugin-react-hooks": "^5.1.0",
102
- "eslint-plugin-regexp": "^2.7.0",
103
- "eslint-plugin-simple-import-sort": "^12.1.1",
104
- "eslint-plugin-testing-library": "^7.1.1",
105
- "eslint-plugin-tsdoc": "^0.4.0",
106
- "eslint-plugin-unicorn": "^60.0.0",
107
- "postcss-html": "^1.8.0",
108
- "prettier-plugin-packagejson": "^2.5.8",
109
- "prettier-plugin-tailwindcss": "^0.6.11",
110
- "stylelint-config-clean-order": "^7.0.0",
111
- "stylelint-config-html": "^1.1.0",
112
- "stylelint-config-standard": "^38.0.0",
113
- "stylelint-config-tailwindcss": "^1.0.0",
114
- "stylelint-define-config": "^16.14.1",
115
- "typescript-eslint": "^8.40.0"
116
- },
117
- "devDependencies": {
118
- "@actions/core": "^1.11.1",
119
- "@actions/exec": "^1.1.1",
120
- "@actions/github": "^6.0.0",
121
- "@commitlint/cli": "^19.7.1",
122
- "@commitlint/config-conventional": "^19.7.1",
123
- "@eslint/eslintrc": "^3.2.0",
124
- "@eslint/js": "^9.20.0",
125
- "@octokit/types": "^14.0.0",
126
- "@semantic-release/git": "^10.0.1",
127
- "@types/eslint-config-prettier": "^6.11.3",
128
- "@types/node": "22",
129
- "@typescript-eslint/types": "^8.40.0",
130
- "eslint": "^9.20.1",
131
- "eslint-define-config": "^2.1.0",
132
- "globals": "^16.0.0",
133
- "husky": "^9.1.7",
134
- "lint-staged": "^16.1.0",
135
- "prettier": "^3.5.1",
136
- "semantic-release": "^24.2.3",
137
- "stylelint": "^16.14.1",
138
- "typescript": "^5.7.3"
139
- },
140
- "peerDependencies": {
141
- "eslint": ">=9",
142
- "prettier": ">=3.0.0 <4",
143
- "stylelint": ">=16.3.1 <17",
144
- "typescript": ">=5.0.0 <6"
145
- },
146
- "peerDependenciesMeta": {
147
- "eslint": {
148
- "optional": true
149
- },
150
- "prettier": {
151
- "optional": true
152
- },
153
- "stylelint": {
154
- "optional": true
155
- },
156
- "typescript": {
157
- "optional": true
158
- }
159
- },
160
- "packageManager": "pnpm@10.4.1",
161
- "engines": {
162
- "node": ">=20",
163
- "pnpm": ">=10"
164
- },
165
- "publishConfig": {
166
- "access": "public"
167
- },
168
- "pnpm": {
169
- "onlyBuiltDependencies": [
170
- "unrs-resolver"
171
- ]
172
- }
173
- }
2
+ "name": "@haltcase/style",
3
+ "version": "8.0.0",
4
+ "description": "haltcase's web ecosystem style guide & configurations",
5
+ "keywords": [
6
+ "editorconfig",
7
+ "oxfmt",
8
+ "oxlint",
9
+ "oxlint-config",
10
+ "style",
11
+ "typescript",
12
+ "vite-plus"
13
+ ],
14
+ "homepage": "https://github.com/haltcase/style#readme",
15
+ "bugs": "https://github.com/haltcase/style/issues",
16
+ "license": "MIT",
17
+ "author": "Bo Lingen <bo@haltcase.dev> (https://haltcase.dev)",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/haltcase/style.git"
21
+ },
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "type": "module",
26
+ "imports": {
27
+ "#self/*": {
28
+ "development": "./src/*",
29
+ "default": "./dist/*"
30
+ }
31
+ },
32
+ "exports": {
33
+ "./editorconfig": "./dist/editorconfig/index.js",
34
+ "./oxfmt": "./dist/oxfmt/index.js",
35
+ "./oxlint": "./dist/oxlint/index.js",
36
+ "./oxlint/configs/base": "./dist/oxlint/configs/base.js",
37
+ "./oxlint/configs/next": "./dist/oxlint/configs/next.js",
38
+ "./oxlint/configs/node": "./dist/oxlint/configs/node.js",
39
+ "./oxlint/configs/react": "./dist/oxlint/configs/react.js",
40
+ "./oxlint/configs/tanstack-router": "./dist/oxlint/configs/tanstack-router.js",
41
+ "./oxlint/configs/tanstack-start": "./dist/oxlint/configs/tanstack-start.js",
42
+ "./oxlint/configs/testing": "./dist/oxlint/configs/testing.js",
43
+ "./oxlint/configs/typescript": "./dist/oxlint/configs/typescript.js",
44
+ "./oxlint/constants": "./dist/oxlint/constants.js",
45
+ "./oxlint/rules/best-practice": "./dist/oxlint/rules/best-practice.js",
46
+ "./oxlint/rules/imports": "./dist/oxlint/rules/imports.js",
47
+ "./oxlint/rules/jsx-a11y": "./dist/oxlint/rules/jsx-a11y.js",
48
+ "./oxlint/rules/playwright-test": "./dist/oxlint/rules/playwright-test.js",
49
+ "./oxlint/rules/possible-errors": "./dist/oxlint/rules/possible-errors.js",
50
+ "./oxlint/rules/react": "./dist/oxlint/rules/react.js",
51
+ "./oxlint/rules/react-x": "./dist/oxlint/rules/react-x.js",
52
+ "./oxlint/rules/restriction": "./dist/oxlint/rules/restriction.js",
53
+ "./oxlint/rules/stylistic": "./dist/oxlint/rules/stylistic.js",
54
+ "./oxlint/rules/stylistic-jsx": "./dist/oxlint/rules/stylistic-jsx.js",
55
+ "./oxlint/rules/typescript": "./dist/oxlint/rules/typescript/index.js",
56
+ "./oxlint/rules/typescript/declaration-files": "./dist/oxlint/rules/typescript/declaration-files.js",
57
+ "./oxlint/rules/variables": "./dist/oxlint/rules/variables.js",
58
+ "./oxlint/utils/eslint-compat": "./dist/oxlint/utils/eslint-compat.js",
59
+ "./stylelint": "./dist/stylelint/index.js",
60
+ "./stylelint/modules": "./dist/stylelint/modules.js",
61
+ "./stylelint/standard": "./dist/stylelint/standard.js",
62
+ "./stylelint/tailwind": "./dist/stylelint/tailwind.js",
63
+ "./vite-plus": "./dist/vite-plus/index.js",
64
+ "./package.json": "./package.json",
65
+ "./typescript/*": "./dist/typescript/tsconfig.*.json",
66
+ "./.editorconfig": "./dist/editorconfig/.editorconfig"
67
+ },
68
+ "publishConfig": {
69
+ "access": "public"
70
+ },
71
+ "dependencies": {
72
+ "@dreamsicle.io/stylelint-config-tailwindcss": "^1.2.2",
73
+ "@eslint-react/eslint-plugin": "^5.17.3",
74
+ "@semantic-release/exec": "^7.1.0",
75
+ "es-toolkit": "^1.49.0",
76
+ "eslint-plugin-react-you-might-not-need-an-effect": "^1.0.1",
77
+ "local-pkg": "^1.2.1",
78
+ "stylelint-config-clean-order": "^8.0.2",
79
+ "stylelint-config-html": "^1.1.0",
80
+ "stylelint-config-standard": "^40.0.0",
81
+ "stylelint-config-tailwindcss": "^1.0.1",
82
+ "stylelint-define-config": "^17.11.0"
83
+ },
84
+ "devDependencies": {
85
+ "@actions/core": "^3.0.1",
86
+ "@actions/exec": "^3.0.0",
87
+ "@actions/github": "^9.1.1",
88
+ "@arethetypeswrong/core": "^0.18.5",
89
+ "@commitlint/cli": "^21.2.1",
90
+ "@commitlint/config-conventional": "^21.2.0",
91
+ "@commitlint/types": "^21.2.0",
92
+ "@octokit/types": "^16.0.0",
93
+ "@octokit/webhooks-types": "^7.6.1",
94
+ "@semantic-release/git": "^11.0.0",
95
+ "@types/node": "^24",
96
+ "conventional-changelog-conventionalcommits": "^9.3.1",
97
+ "jsdom": "^29.1.1",
98
+ "oxfmt": "^0.60.0",
99
+ "oxlint": "^1.75.0",
100
+ "oxlint-tsgolint": "^7.0.2001",
101
+ "semantic-release": "^25.0.8",
102
+ "stylelint": "^17.14.1",
103
+ "syncpack": "^15.3.2",
104
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
105
+ "typescript-7": "npm:typescript@^7.0.2",
106
+ "vite": "npm:@voidzero-dev/vite-plus-core@^0.2.5",
107
+ "vite-plus": "^0.2.5",
108
+ "vitest": "^4.1.10",
109
+ "@haltcase/style": "8.0.0"
110
+ },
111
+ "peerDependencies": {
112
+ "@tanstack/eslint-plugin-router": "^1.161.6",
113
+ "stylelint": "^17.0.0",
114
+ "typescript": "^6.0.0 || ^7.0.0",
115
+ "vite-plus": "^0.2.5"
116
+ },
117
+ "peerDependenciesMeta": {
118
+ "@tanstack/eslint-plugin-router": {
119
+ "optional": true
120
+ },
121
+ "typescript": {
122
+ "optional": true
123
+ },
124
+ "stylelint": {
125
+ "optional": true
126
+ },
127
+ "vite-plus": {
128
+ "optional": true
129
+ }
130
+ },
131
+ "stylelint": {
132
+ "extends": "@haltcase/style/stylelint"
133
+ },
134
+ "devEngines": {
135
+ "packageManager": {
136
+ "name": "pnpm",
137
+ "version": "11.16.0",
138
+ "onFail": "download"
139
+ }
140
+ },
141
+ "engines": {
142
+ "node": ">=22"
143
+ },
144
+ "scripts": {
145
+ "build": "vp pack",
146
+ "check": "vp check",
147
+ "check:types": "vp check --no-fmt --no-lint",
148
+ "deps": "syncpack update --target minor",
149
+ "format": "vp check --fix",
150
+ "test": "vp test"
151
+ }
152
+ }