|
1 | 1 | { |
2 | 2 | "$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json", |
3 | | - "plugins": ["typescript", "unicorn", "import"], |
4 | | - "jsPlugins": ["./oxlint-plugin/index.mts"], |
| 3 | + "plugins": [ |
| 4 | + "typescript", |
| 5 | + "unicorn", |
| 6 | + "import" |
| 7 | + ], |
| 8 | + "jsPlugins": [ |
| 9 | + "./oxlint-plugin/index.mts" |
| 10 | + ], |
5 | 11 | "categories": { |
6 | 12 | "correctness": "error", |
7 | 13 | "suspicious": "error" |
8 | 14 | }, |
9 | 15 | "rules": { |
10 | | - "eslint/curly": "off", |
| 16 | + "eslint/curly": "error", |
11 | 17 | "eslint/no-await-in-loop": "off", |
12 | 18 | "eslint/no-console": "off", |
13 | 19 | "eslint/no-control-regex": "off", |
|
19 | 25 | ], |
20 | 26 | "eslint/no-new": "error", |
21 | 27 | "eslint/no-proto": "error", |
22 | | - "eslint/no-shadow": "off", |
| 28 | + "eslint/no-shadow": "error", |
23 | 29 | "eslint/no-underscore-dangle": "off", |
24 | 30 | "eslint/no-unmodified-loop-condition": "off", |
25 | 31 | "eslint/no-unused-vars": "off", |
|
36 | 42 | "socket/export-top-level-functions": "error", |
37 | 43 | "socket/inclusive-language": "error", |
38 | 44 | "socket/max-file-lines": "error", |
| 45 | + "socket/no-bare-crypto-named-usage": "error", |
39 | 46 | "socket/no-cached-for-on-iterable": "error", |
40 | 47 | "socket/no-console-prefer-logger": "error", |
41 | 48 | "socket/no-default-export": "error", |
42 | 49 | "socket/no-dynamic-import-outside-bundle": "error", |
| 50 | + "socket/no-eslint-biome-config-ref": "error", |
43 | 51 | "socket/no-fetch-prefer-http-request": "error", |
44 | 52 | "socket/no-file-scope-oxlint-disable": "error", |
| 53 | + "socket/no-inline-defer-async": "error", |
45 | 54 | "socket/no-inline-logger": "error", |
46 | 55 | "socket/no-logger-newline-literal": "error", |
47 | 56 | "socket/no-npx-dlx": "error", |
48 | 57 | "socket/no-placeholders": "error", |
49 | 58 | "socket/no-process-cwd-in-scripts-hooks": "error", |
50 | 59 | "socket/no-promise-race": "error", |
51 | 60 | "socket/no-promise-race-in-loop": "error", |
| 61 | + "socket/no-src-import-in-test-expect": "error", |
52 | 62 | "socket/no-status-emoji": "error", |
53 | 63 | "socket/no-structured-clone-prefer-json": "error", |
| 64 | + "socket/no-sync-rm-in-test-lifecycle": "error", |
54 | 65 | "socket/no-underscore-identifier": "error", |
| 66 | + "socket/no-which-for-local-bin": "error", |
55 | 67 | "socket/optional-explicit-undefined": "error", |
56 | 68 | "socket/personal-path-placeholders": "error", |
57 | 69 | "socket/prefer-async-spawn": "error", |
58 | 70 | "socket/prefer-cached-for-loop": "error", |
| 71 | + "socket/prefer-ellipsis-char": "error", |
| 72 | + "socket/prefer-env-as-boolean": "error", |
| 73 | + "socket/prefer-error-message": "error", |
59 | 74 | "socket/prefer-exists-sync": "error", |
60 | 75 | "socket/prefer-function-declaration": "error", |
61 | 76 | "socket/prefer-node-builtin-imports": "error", |
62 | 77 | "socket/prefer-node-modules-dot-cache": "error", |
63 | 78 | "socket/prefer-non-capturing-group": "error", |
| 79 | + "socket/prefer-pure-call-form": "error", |
64 | 80 | "socket/prefer-safe-delete": "error", |
65 | 81 | "socket/prefer-separate-type-import": "error", |
66 | 82 | "socket/prefer-spawn-over-execsync": "error", |
| 83 | + "socket/prefer-stable-self-import": "error", |
67 | 84 | "socket/prefer-static-type-import": "error", |
68 | 85 | "socket/prefer-undefined-over-null": "error", |
69 | 86 | "socket/socket-api-token-env": "error", |
|
73 | 90 | "socket/sort-regex-alternations": "error", |
74 | 91 | "socket/sort-set-args": "error", |
75 | 92 | "socket/sort-source-methods": "error", |
| 93 | + "socket/use-fleet-canonical-api-token-getter": "error", |
76 | 94 | "typescript/array-type": [ |
77 | 95 | "error", |
78 | 96 | { |
|
105 | 123 | "typescript/triple-slash-reference": "error", |
106 | 124 | "unicorn/consistent-function-scoping": "off", |
107 | 125 | "unicorn/no-array-for-each": "off", |
108 | | - "unicorn/no-array-reverse": "off", |
109 | | - "unicorn/no-array-sort": "off", |
| 126 | + "unicorn/no-array-reverse": "error", |
| 127 | + "unicorn/no-array-sort": "error", |
110 | 128 | "unicorn/no-empty-file": "off", |
111 | 129 | "unicorn/no-null": "off", |
112 | 130 | "unicorn/no-useless-fallback-in-spread": "off", |
|
151 | 169 | "**/*.d.ts.map", |
152 | 170 | "**/*.tsbuildinfo", |
153 | 171 | "#fleet-canonical-begin (managed by socket-wheelhouse sync)", |
154 | | - "**/.claude/**", |
| 172 | + "**/.claude/agents/fleet/**", |
| 173 | + "**/.claude/commands/fleet/**", |
| 174 | + "**/.claude/hooks/fleet/**", |
| 175 | + "**/.claude/skills/fleet/**", |
155 | 176 | "**/.config/oxlint-plugin/**", |
156 | 177 | "**/.config/rolldown/**", |
157 | 178 | "**/.git-hooks/**", |
158 | 179 | "**/.pnpm-store/**", |
| 180 | + "**/docs/claude.md/fleet/**", |
| 181 | + "**/scripts/fleet/**", |
159 | 182 | "**/vendor/**", |
160 | 183 | "**/wasm_exec.js", |
| 184 | + "**/scripts/plugin-patches/**/*.files/**", |
| 185 | + "**/scripts/plugin-patches/**/*.patch", |
| 186 | + "**/.claude/settings.json", |
161 | 187 | "**/.config/lockstep.schema.json", |
162 | 188 | "**/.config/markdownlint-rules/_shared/wheelhouse-self-skip.mjs", |
163 | 189 | "**/.config/markdownlint-rules/socket-no-private-wheelhouse-leak.mjs", |
|
167 | 193 | "**/.config/socket-wheelhouse-schema.json", |
168 | 194 | "**/.config/taze.config.mts", |
169 | 195 | "**/.config/tsconfig.base.json", |
| 196 | + "**/.config/vitest.coverage.fleet.config.mts", |
170 | 197 | "**/packages/build-infra/lib/release-checksums/consumer.mts", |
171 | 198 | "**/packages/build-infra/lib/release-checksums/core.mts", |
172 | 199 | "**/packages/build-infra/lib/release-checksums/producer.mts", |
173 | 200 | "**/packages/build-infra/release-assets.schema.json", |
174 | 201 | "**/scripts/ai-lint-fix.mts", |
175 | 202 | "**/scripts/ai-lint-fix/cli.mts", |
176 | 203 | "**/scripts/ai-lint-fix/rule-guidance.mts", |
| 204 | + "**/scripts/audit-transcript.mts", |
177 | 205 | "**/scripts/check-lock-step-header.mts", |
178 | 206 | "**/scripts/check-lock-step-refs.mts", |
179 | 207 | "**/scripts/check-paths.mts", |
|
210 | 238 | "**/scripts/lockstep/scan.mts", |
211 | 239 | "**/scripts/lockstep/schema.mts", |
212 | 240 | "**/scripts/lockstep/types.mts", |
| 241 | + "**/scripts/plugin-patches/codex-1.0.1-stdin-eagain.files/scripts/lib/read-stdin-sync.mjs", |
213 | 242 | "**/scripts/power-state.mts", |
214 | 243 | "**/scripts/publish-release.mts", |
215 | 244 | "**/scripts/publish-shared.mts", |
|
222 | 251 | "**/scripts/test/install-claude-plugins.test.mts", |
223 | 252 | "**/scripts/test/install-git-hooks.test.mts", |
224 | 253 | "**/scripts/update.mts", |
| 254 | + "**/scripts/util/multi-package-publish.mts", |
| 255 | + "**/scripts/util/pack-app-triplets.mts", |
| 256 | + "**/scripts/util/run-command.mts", |
| 257 | + "**/scripts/util/source-allowlist.mts", |
225 | 258 | "**/scripts/validate-bundle-deps.mts", |
226 | 259 | "**/scripts/validate-config-paths.mts", |
227 | | - "**/scripts/validate-esbuild-minify.mts", |
228 | 260 | "**/scripts/validate-file-size.mts", |
| 261 | + "**/scripts/validate-rolldown-minify.mts", |
229 | 262 | "#fleet-canonical-end" |
230 | 263 | ] |
231 | 264 | } |
0 commit comments