mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
build: expand vitest lint coverage
This commit is contained in:
@@ -107,16 +107,53 @@
|
||||
"unicorn/require-number-to-fixed-digits-argument": "error",
|
||||
"unicorn/require-post-message-target-origin": "error",
|
||||
"unicorn/throw-new-error": "error",
|
||||
"vitest/no-import-node-test": "error",
|
||||
"vitest/no-focused-tests": "error",
|
||||
"vitest/no-disabled-tests": "error",
|
||||
"vitest/no-conditional-tests": "error",
|
||||
"vitest/no-conditional-expect": "error",
|
||||
"vitest/no-standalone-expect": "error",
|
||||
"vitest/consistent-vitest-vi": "error",
|
||||
"vitest/consistent-each-for": "error",
|
||||
"vitest/expect-expect": "error",
|
||||
"vitest/hoisted-apis-on-top": "error",
|
||||
"vitest/no-alias-methods": "error",
|
||||
"vitest/no-commented-out-tests": "error",
|
||||
"vitest/no-conditional-expect": "error",
|
||||
"vitest/no-conditional-in-test": "error",
|
||||
"vitest/no-conditional-tests": "error",
|
||||
"vitest/no-disabled-tests": "error",
|
||||
"vitest/no-duplicate-hooks": "error",
|
||||
"vitest/no-focused-tests": "error",
|
||||
"vitest/no-identical-title": "error",
|
||||
"vitest/no-import-node-test": "error",
|
||||
"vitest/no-standalone-expect": "error",
|
||||
"vitest/no-test-return-statement": "error",
|
||||
"vitest/prefer-called-once": "error",
|
||||
"vitest/prefer-called-times": "error",
|
||||
"vitest/prefer-expect-type-of": "error"
|
||||
"vitest/prefer-called-with": "error",
|
||||
"vitest/prefer-comparison-matcher": "error",
|
||||
"vitest/prefer-each": "error",
|
||||
"vitest/prefer-equality-matcher": "error",
|
||||
"vitest/prefer-expect-resolves": "error",
|
||||
"vitest/prefer-expect-type-of": "error",
|
||||
"vitest/prefer-hooks-in-order": "error",
|
||||
"vitest/prefer-hooks-on-top": "error",
|
||||
"vitest/prefer-mock-promise-shorthand": "error",
|
||||
"vitest/prefer-mock-return-shorthand": "error",
|
||||
"vitest/prefer-spy-on": "error",
|
||||
"vitest/prefer-strict-boolean-matchers": "error",
|
||||
"vitest/prefer-strict-equal": "error",
|
||||
"vitest/prefer-to-be": "error",
|
||||
"vitest/prefer-to-be-falsy": "error",
|
||||
"vitest/prefer-to-be-object": "error",
|
||||
"vitest/prefer-to-be-truthy": "error",
|
||||
"vitest/prefer-to-contain": "error",
|
||||
"vitest/prefer-to-have-length": "error",
|
||||
"vitest/require-awaited-expect-poll": "error",
|
||||
"vitest/require-hook": "error",
|
||||
"vitest/require-local-test-context-for-concurrent-snapshots": "error",
|
||||
"vitest/require-mock-type-parameters": "error",
|
||||
"vitest/require-to-throw-message": "error",
|
||||
"vitest/valid-describe-callback": "error",
|
||||
"vitest/valid-expect": "error",
|
||||
"vitest/valid-expect-in-promise": "error",
|
||||
"vitest/valid-title": "error",
|
||||
"vitest/warn-todo": "error"
|
||||
},
|
||||
"ignorePatterns": [
|
||||
"dist/",
|
||||
|
||||
@@ -6,7 +6,7 @@ Docs: https://docs.openclaw.ai
|
||||
|
||||
### Changes
|
||||
|
||||
- Build: enable stricter Vitest safety lint rules for focused, disabled, conditional, and standalone expectations.
|
||||
- Build: enable stricter Vitest lint rules for focused, disabled, conditional, hook, matcher, and expectation hazards.
|
||||
- Build: pin explicit oxfmt defaults in the shared formatter config to keep formatting behavior stable across upgrades.
|
||||
- TypeScript: enable stricter compiler checks for implicit returns, side-effect imports, overrides, and unused production code.
|
||||
- Build: upgrade workspace package management to pnpm 11 and keep Docker, install, update, and release workflows on the pnpm 11 config surface. (#79414) Thanks @altaywtf.
|
||||
|
||||
Reference in New Issue
Block a user