emdash-cms--emdash
b3a7f98e5a
CI / E2E Cloudflare (4/8) (push) Failing after 0s
CI / E2E Cloudflare (8/8) (push) Failing after 1s
CI / Lint (push) Failing after 1s
Auto Extract / Extract (push) Failing after 4s
CI / Version Check (push) Failing after 9s
CI / Integration Tests (push) Failing after 1s
CI / E2E tests (1/8) (push) Failing after 1s
CI / E2E tests (2/8) (push) Failing after 2s
CI / E2E tests (3/8) (push) Failing after 2s
CI / Browser Tests (push) Failing after 1s
CI / E2E tests (5/8) (push) Failing after 1s
CI / E2E Cloudflare (2/8) (push) Failing after 2s
CI / Typecheck (push) Failing after 1s
CI / Changeset Validation (push) Failing after 2s
CI / E2E Cloudflare (5/8) (push) Failing after 1s
CI / E2E Cloudflare (6/8) (push) Failing after 1s
CI / E2E Cloudflare (7/8) (push) Failing after 1s
CodeQL / Analyze (javascript-typescript) (push) Failing after 1s
Format / Format (push) Failing after 0s
CodeQL / Analyze (actions) (push) Failing after 4s
CI / E2E tests (4/8) (push) Failing after 1s
CI / E2E tests (6/8) (push) Failing after 1s
CI / E2E tests (7/8) (push) Failing after 2s
CI / E2E tests (8/8) (push) Failing after 1s
CI / E2E Cloudflare (1/8) (push) Failing after 1s
CI / E2E Cloudflare (3/8) (push) Failing after 2s
Preview Releases / Publish Preview (push) Failing after 0s
zizmor / Run zizmor (push) Failing after 1s
Release / Release (push) Failing after 2s
CI / Smoke Tests (push) Failing after 5m36s
CI / Tests (push) Failing after 6m36s
Release / Sync Templates (push) Has been skipped
CI / E2E Tests (push) Has been cancelled
132 行
4.0 KiB
JSON
132 行
4.0 KiB
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["typescript", "import", "unicorn", "promise"],
|
|
"jsPlugins": ["@e18e/eslint-plugin"],
|
|
"categories": {
|
|
"correctness": "error",
|
|
"suspicious": "warn",
|
|
"perf": "warn"
|
|
},
|
|
"rules": {
|
|
"no-await-in-loop": "off",
|
|
"no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"unicorn/filename-case": "off",
|
|
"unicorn/no-null": "off",
|
|
"unicorn/prefer-add-event-listener": "off",
|
|
"typescript/no-unsafe-type-assertion": "warn",
|
|
"typescript/unbound-method": "off",
|
|
"typescript/no-unnecessary-boolean-literal-compare": "off",
|
|
// Noisy/stylistic rules added in newer oxlint. Disabled while we triage them
|
|
// (see https://github.com/emdash-cms/emdash/issues — track follow-ups before
|
|
// re-enabling).
|
|
"no-underscore-dangle": "off",
|
|
"typescript/consistent-return": "off",
|
|
"typescript/no-unnecessary-type-conversion": "off",
|
|
"typescript/no-unnecessary-type-parameters": "off",
|
|
// The rule degrades to an unactionable error on configs without
|
|
// strictNullChecks (the test plugins under packages/plugins/*-test/).
|
|
"typescript/no-useless-default-assignment": "off",
|
|
"import/no-named-as-default": "off",
|
|
"import/no-unassigned-import": [
|
|
"warn",
|
|
{
|
|
"allow": ["**/*.css", "@testing-library/react", "vitest-browser-react"]
|
|
}
|
|
],
|
|
"e18e/prefer-array-at": "error",
|
|
"e18e/prefer-array-fill": "error",
|
|
"e18e/prefer-includes": "error",
|
|
"e18e/prefer-array-to-reversed": "error",
|
|
"e18e/prefer-array-to-sorted": "error",
|
|
"e18e/prefer-array-to-spliced": "error",
|
|
"e18e/prefer-nullish-coalescing": "error",
|
|
"e18e/prefer-object-has-own": "error",
|
|
"e18e/prefer-spread-syntax": "error",
|
|
"e18e/prefer-url-canparse": "error",
|
|
"e18e/ban-dependencies": "error",
|
|
"e18e/prefer-array-from-map": "error",
|
|
"e18e/prefer-timer-args": "error",
|
|
"e18e/prefer-date-now": "error",
|
|
"e18e/prefer-regex-test": "error",
|
|
"e18e/prefer-array-some": "error",
|
|
"e18e/prefer-static-regex": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx",
|
|
"**/tests/**/*.ts",
|
|
"**/tests/**/*.tsx",
|
|
"packages/atproto-test-utils/**/*.ts"
|
|
],
|
|
"rules": {
|
|
"typescript/no-unsafe-type-assertion": "off",
|
|
"typescript/no-unnecessary-type-assertion": "off",
|
|
"unicorn/consistent-function-scoping": "off",
|
|
"e18e/prefer-static-regex": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"**/database/repositories/content.ts",
|
|
"**/database/repositories/comment.ts",
|
|
"**/database/repositories/user.ts",
|
|
"**/mcp/server.ts",
|
|
"**/client/index.ts",
|
|
"**/client/transport.ts",
|
|
"**/client/portable-text.ts",
|
|
"**/cli/**/*.ts",
|
|
"packages/plugin-cli/src/bundle/api.ts",
|
|
"packages/plugin-cli/src/bundle/utils.ts",
|
|
"packages/plugin-cli/src/bundle/command.ts",
|
|
"packages/plugin-cli/src/bundle/types.ts",
|
|
"packages/plugin-cli/src/oauth.ts",
|
|
"packages/plugin-cli/src/publish/api.ts",
|
|
"packages/plugin-cli/src/commands/publish.ts",
|
|
"packages/registry-client/src/publishing/index.ts",
|
|
"**/api/handlers/api-tokens.ts",
|
|
"**/api/handlers/device-flow.ts",
|
|
"**/api/handlers/oauth-authorization.ts",
|
|
"**/api/handlers/comments.ts",
|
|
"**/routes/api/oauth/token.ts",
|
|
"**/routes/api/comments/**/*.ts",
|
|
"**/routes/api/admin/comments/**/*.ts",
|
|
"**/routes/api/plugins/**/*.ts",
|
|
"**/plugins/hooks.ts",
|
|
"**/plugins/context.ts",
|
|
"**/plugins/cron.ts",
|
|
"**/plugins/define-plugin.ts",
|
|
"**/plugins/request-meta.ts",
|
|
"**/seed/load.ts",
|
|
"**/comments/notifications.ts",
|
|
"**/astro/integration/index.ts",
|
|
"packages/plugins/**/*.ts",
|
|
"packages/plugins/**/*.tsx",
|
|
"packages/blocks/**/*.tsx",
|
|
"packages/admin/**/*.tsx"
|
|
],
|
|
"rules": {
|
|
"typescript/no-unsafe-type-assertion": "off"
|
|
}
|
|
}
|
|
],
|
|
"ignorePatterns": [
|
|
"**/dist/**",
|
|
"**/node_modules/**",
|
|
"**/*.d.ts",
|
|
"**/src/generated/**",
|
|
"skills/**/scaffold/**",
|
|
".agents/skills/**/scaffold/**",
|
|
".claude/skills/**/scaffold/**",
|
|
"scripts/query-dumps/**",
|
|
".flue/**"
|
|
]
|
|
}
|