repoburg 1.0.69 → 1.1.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 +8 -1
- package/backend/dist/packages/gemini-core/examples/simple.d.ts +1 -0
- package/backend/dist/packages/gemini-core/examples/simple.js +73 -0
- package/backend/dist/packages/gemini-core/examples/simple.js.map +1 -0
- package/backend/dist/packages/gemini-core/index.d.ts +3 -0
- package/backend/dist/packages/gemini-core/index.js +27 -0
- package/backend/dist/packages/gemini-core/index.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/code_assist/codeAssist.d.ts +5 -0
- package/backend/dist/packages/gemini-core/src/code_assist/codeAssist.js +17 -0
- package/backend/dist/packages/gemini-core/src/code_assist/codeAssist.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/code_assist/converter.d.ts +69 -0
- package/backend/dist/packages/gemini-core/src/code_assist/converter.js +129 -0
- package/backend/dist/packages/gemini-core/src/code_assist/converter.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/code_assist/oauth-credential-storage.d.ts +8 -0
- package/backend/dist/packages/gemini-core/src/code_assist/oauth-credential-storage.js +84 -0
- package/backend/dist/packages/gemini-core/src/code_assist/oauth-credential-storage.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/code_assist/oauth2.d.ts +12 -0
- package/backend/dist/packages/gemini-core/src/code_assist/oauth2.js +371 -0
- package/backend/dist/packages/gemini-core/src/code_assist/oauth2.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/code_assist/server.d.ts +28 -0
- package/backend/dist/packages/gemini-core/src/code_assist/server.js +135 -0
- package/backend/dist/packages/gemini-core/src/code_assist/server.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/code_assist/setup.d.ts +10 -0
- package/backend/dist/packages/gemini-core/src/code_assist/setup.js +94 -0
- package/backend/dist/packages/gemini-core/src/code_assist/setup.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/code_assist/types.d.ts +106 -0
- package/backend/dist/packages/gemini-core/src/code_assist/types.js +28 -0
- package/backend/dist/packages/gemini-core/src/code_assist/types.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/config/config.d.ts +22 -0
- package/backend/dist/packages/gemini-core/src/config/config.js +38 -0
- package/backend/dist/packages/gemini-core/src/config/config.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/config/models.d.ts +6 -0
- package/backend/dist/packages/gemini-core/src/config/models.js +13 -0
- package/backend/dist/packages/gemini-core/src/config/models.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/config/storage.d.ts +8 -0
- package/backend/dist/packages/gemini-core/src/config/storage.js +25 -0
- package/backend/dist/packages/gemini-core/src/config/storage.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/core/contentGenerator.d.ts +23 -0
- package/backend/dist/packages/gemini-core/src/core/contentGenerator.js +63 -0
- package/backend/dist/packages/gemini-core/src/core/contentGenerator.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/core/geminiChat.d.ts +34 -0
- package/backend/dist/packages/gemini-core/src/core/geminiChat.js +247 -0
- package/backend/dist/packages/gemini-core/src/core/geminiChat.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/core/geminiRequest.d.ts +3 -0
- package/backend/dist/packages/gemini-core/src/core/geminiRequest.js +8 -0
- package/backend/dist/packages/gemini-core/src/core/geminiRequest.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/core/prompts.d.ts +7 -0
- package/backend/dist/packages/gemini-core/src/core/prompts.js +69 -0
- package/backend/dist/packages/gemini-core/src/core/prompts.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/core/tokenLimits.d.ts +5 -0
- package/backend/dist/packages/gemini-core/src/core/tokenLimits.js +25 -0
- package/backend/dist/packages/gemini-core/src/core/tokenLimits.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/index.d.ts +18 -0
- package/backend/dist/packages/gemini-core/src/index.js +37 -0
- package/backend/dist/packages/gemini-core/src/index.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/base-token-storage.d.ts +14 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/base-token-storage.js +34 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/base-token-storage.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/file-token-storage.d.ts +19 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/file-token-storage.js +141 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/file-token-storage.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/hybrid-token-storage.d.ts +18 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/hybrid-token-storage.js +74 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/hybrid-token-storage.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/index.d.ts +6 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/index.js +24 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/index.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/keychain-token-storage.d.ts +26 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/keychain-token-storage.js +188 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/keychain-token-storage.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/types.d.ts +27 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/types.js +9 -0
- package/backend/dist/packages/gemini-core/src/mcp/token-storage/types.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/utils/errors.d.ts +34 -0
- package/backend/dist/packages/gemini-core/src/utils/errors.js +103 -0
- package/backend/dist/packages/gemini-core/src/utils/errors.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/utils/partUtils.d.ts +7 -0
- package/backend/dist/packages/gemini-core/src/utils/partUtils.js +108 -0
- package/backend/dist/packages/gemini-core/src/utils/partUtils.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/utils/quotaErrorDetection.d.ts +16 -0
- package/backend/dist/packages/gemini-core/src/utils/quotaErrorDetection.js +60 -0
- package/backend/dist/packages/gemini-core/src/utils/quotaErrorDetection.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/utils/retry.d.ts +14 -0
- package/backend/dist/packages/gemini-core/src/utils/retry.js +154 -0
- package/backend/dist/packages/gemini-core/src/utils/retry.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/utils/session.d.ts +1 -0
- package/backend/dist/packages/gemini-core/src/utils/session.js +6 -0
- package/backend/dist/packages/gemini-core/src/utils/session.js.map +1 -0
- package/backend/dist/packages/gemini-core/src/utils/userAccountManager.d.ts +10 -0
- package/backend/dist/packages/gemini-core/src/utils/userAccountManager.js +106 -0
- package/backend/dist/packages/gemini-core/src/utils/userAccountManager.js.map +1 -0
- package/backend/dist/src/action-execution/action-execution.module.js.map +1 -0
- package/backend/dist/src/action-execution/action-execution.service.js.map +1 -0
- package/backend/dist/src/ai-actions/ai-action-batch.service.js.map +1 -0
- package/backend/dist/src/ai-actions/ai-action-creation.service.js.map +1 -0
- package/backend/dist/src/ai-actions/ai-actions.controller.js.map +1 -0
- package/backend/dist/src/ai-actions/ai-actions.module.js.map +1 -0
- package/backend/dist/src/ai-actions/ai-actions.service.js.map +1 -0
- package/backend/dist/src/app.controller.js.map +1 -0
- package/backend/dist/src/app.module.js.map +1 -0
- package/backend/dist/src/app.service.js.map +1 -0
- package/backend/dist/src/application-state/application-state.controller.js.map +1 -0
- package/backend/dist/src/application-state/application-state.module.js.map +1 -0
- package/backend/dist/src/application-state/application-state.service.js.map +1 -0
- package/backend/dist/src/application-state/dto/set-auto-context-fetch-enabled.dto.js.map +1 -0
- package/backend/dist/src/application-state/dto/set-auto-send-to-ai-studio-enabled.dto.js.map +1 -0
- package/backend/dist/src/application-state/dto/set-context-token-limit.dto.js.map +1 -0
- package/backend/dist/src/application-state/dto/set-orchestration-timeout.dto.js.map +1 -0
- package/backend/dist/src/application-state/dto/set-theme.dto.js.map +1 -0
- package/backend/dist/src/application-state/dto/set-websocket-enabled.dto.js.map +1 -0
- package/backend/dist/src/context-generation/context-generation.module.js.map +1 -0
- package/backend/dist/src/context-generation/context-generation.service.js.map +1 -0
- package/backend/dist/src/context-snippets/context-snippets.controller.js.map +1 -0
- package/backend/dist/src/context-snippets/context-snippets.module.js.map +1 -0
- package/backend/dist/src/context-snippets/context-snippets.service.js.map +1 -0
- package/backend/dist/src/context-snippets/dto/context-snippet.dto.js.map +1 -0
- package/backend/dist/src/context-templates/context-templates.controller.js.map +1 -0
- package/backend/dist/src/context-templates/context-templates.module.js.map +1 -0
- package/backend/dist/src/context-templates/context-templates.service.js.map +1 -0
- package/backend/dist/src/context-templates/dto/context-template.dto.js.map +1 -0
- package/backend/dist/src/core-entities/ai-action.entity.js.map +1 -0
- package/backend/dist/src/core-entities/application-state.entity.js.map +1 -0
- package/backend/dist/src/core-entities/base.entity.js.map +1 -0
- package/backend/dist/src/core-entities/context-snippet.entity.js.map +1 -0
- package/backend/dist/src/core-entities/context-template.entity.js.map +1 -0
- package/backend/dist/src/core-entities/custom-snippet.entity.js.map +1 -0
- package/backend/dist/src/core-entities/execution-log.entity.js.map +1 -0
- package/backend/dist/src/core-entities/index.js.map +1 -0
- package/backend/dist/src/core-entities/project.entity.js.map +1 -0
- package/backend/dist/src/core-entities/session-input.entity.js.map +1 -0
- package/backend/dist/src/core-entities/session.entity.js.map +1 -0
- package/backend/dist/src/core-entities/system-prompt.entity.js.map +1 -0
- package/backend/dist/src/custom-snippets/custom-snippets.controller.js.map +1 -0
- package/backend/dist/src/custom-snippets/custom-snippets.module.js.map +1 -0
- package/backend/dist/src/custom-snippets/custom-snippets.service.js.map +1 -0
- package/backend/dist/src/custom-snippets/dto/custom-snippet.dto.js.map +1 -0
- package/backend/dist/src/events/events.gateway.js.map +1 -0
- package/backend/dist/src/events/events.module.js.map +1 -0
- package/backend/dist/src/execution-logs/dto/execution-log.dto.js.map +1 -0
- package/backend/dist/src/execution-logs/execution-logs.controller.js.map +1 -0
- package/backend/dist/src/execution-logs/execution-logs.module.js.map +1 -0
- package/backend/dist/src/execution-logs/execution-logs.service.js.map +1 -0
- package/backend/dist/src/gemini/gemini-llm.provider.d.ts +10 -0
- package/backend/dist/src/gemini/gemini-llm.provider.js +103 -0
- package/backend/dist/src/gemini/gemini-llm.provider.js.map +1 -0
- package/backend/dist/src/gemini/gemini.module.d.ts +2 -0
- package/backend/dist/src/gemini/gemini.module.js +21 -0
- package/backend/dist/src/gemini/gemini.module.js.map +1 -0
- package/backend/dist/src/http-exception.filter.js.map +1 -0
- package/backend/dist/src/llm-provider/llm-provider.interface.d.ts +16 -0
- package/backend/dist/src/llm-provider/llm-provider.interface.js +5 -0
- package/backend/dist/src/llm-provider/llm-provider.interface.js.map +1 -0
- package/backend/dist/src/llm-provider/llm-provider.module.d.ts +2 -0
- package/backend/dist/src/llm-provider/llm-provider.module.js +29 -0
- package/backend/dist/src/llm-provider/llm-provider.module.js.map +1 -0
- package/backend/dist/src/llm-response-parser/dto/ai-action.dto.js.map +1 -0
- package/backend/dist/src/llm-response-parser/errors/parsing.error.js.map +1 -0
- package/backend/dist/src/llm-response-parser/llm-response-parser.module.js.map +1 -0
- package/backend/dist/src/llm-response-parser/llm-response-parser.service.js.map +1 -0
- package/backend/dist/src/llm-response-parser/parsing.constants.js.map +1 -0
- package/backend/dist/src/llm-responses/dto/submit-llm-response.dto.js.map +1 -0
- package/backend/dist/src/llm-responses/llm-responses.controller.js.map +1 -0
- package/backend/dist/src/llm-responses/llm-responses.module.js.map +1 -0
- package/backend/dist/src/llm-responses/llm-responses.service.js.map +1 -0
- package/backend/dist/src/main.js.map +1 -0
- package/backend/dist/src/orchestration/dto/orchestration.dto.js.map +1 -0
- package/backend/dist/src/orchestration/orchestration-fs.service.js.map +1 -0
- package/backend/dist/src/orchestration/orchestration-parser.service.js.map +1 -0
- package/backend/dist/src/orchestration/orchestration.controller.js.map +1 -0
- package/backend/dist/src/orchestration/orchestration.module.js.map +1 -0
- package/backend/dist/src/orchestration/orchestration.service.js.map +1 -0
- package/backend/dist/src/orchestration/orchestration.types.js.map +1 -0
- package/backend/dist/src/projects/dto/project.dto.js.map +1 -0
- package/backend/dist/src/projects/projects.controller.js.map +1 -0
- package/backend/dist/src/projects/projects.module.js.map +1 -0
- package/backend/dist/src/projects/projects.service.js.map +1 -0
- package/backend/dist/src/seeding/context-template-seeding.service.js.map +1 -0
- package/backend/dist/src/seeding/custom-snippet-seeding.service.js.map +1 -0
- package/backend/dist/src/seeding/data/context-templates/default-followup_ad-hoc-focused-context.js.map +1 -0
- package/backend/dist/src/seeding/data/context-templates/default-initial_condensed-project-context.js.map +1 -0
- package/backend/dist/src/seeding/data/context-templates/default-initial_full-project-context.js.map +1 -0
- package/backend/dist/src/seeding/data/context-templates/pm-context.js.map +1 -0
- package/backend/dist/src/seeding/data/context-templates/pr-description.js.map +1 -0
- package/backend/dist/src/seeding/data/context-templates/sample_focused-tree.d.ts +2 -0
- package/backend/dist/src/seeding/data/context-templates/sample_focused-tree.js +15 -0
- package/backend/dist/src/seeding/data/context-templates/sample_focused-tree.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/default_rglob.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/git-diff.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/rg-exclude.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/rg-search-glob.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/rg-search.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/run-command.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/tree.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/usr-adhoc-incl.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/usr-cmd-output-incl.js.map +1 -0
- package/backend/dist/src/seeding/data/custom-snippets/usr-input-incl.js.map +1 -0
- package/backend/dist/src/seeding/data/system-prompts/codebase-explorer.js.map +1 -0
- package/backend/dist/src/seeding/data/system-prompts/default_multi-file-action-generator-with-requester.js.map +1 -0
- package/backend/dist/src/seeding/data/system-prompts/packup.js.map +1 -0
- package/backend/dist/src/seeding/data/system-prompts/refactor-split.js.map +1 -0
- package/backend/dist/src/seeding/seeding.module.js.map +1 -0
- package/backend/dist/src/seeding/seeding.service.js.map +1 -0
- package/backend/dist/src/seeding/system-prompt-seeding.service.js.map +1 -0
- package/backend/dist/src/session-followup/session-followup.module.js.map +1 -0
- package/backend/dist/src/session-followup/session-followup.service.js.map +1 -0
- package/backend/dist/src/session-inputs/dto/session-input.dto.js.map +1 -0
- package/backend/dist/src/session-inputs/session-input-context.service.d.ts +16 -0
- package/backend/dist/src/session-inputs/session-input-context.service.js +175 -0
- package/backend/dist/src/session-inputs/session-input-context.service.js.map +1 -0
- package/backend/dist/src/session-inputs/session-inputs.controller.js.map +1 -0
- package/backend/dist/src/session-inputs/session-inputs.module.js +50 -0
- package/backend/dist/src/session-inputs/session-inputs.module.js.map +1 -0
- package/backend/dist/src/session-inputs/session-inputs.service.d.ts +37 -0
- package/backend/dist/src/session-inputs/session-inputs.service.js +383 -0
- package/backend/dist/src/session-inputs/session-inputs.service.js.map +1 -0
- package/backend/dist/src/session-transfer/session-transfer.module.js.map +1 -0
- package/backend/dist/src/session-transfer/session-transfer.service.js.map +1 -0
- package/backend/dist/src/sessions/dto/session.dto.js.map +1 -0
- package/backend/dist/src/sessions/sessions.controller.js.map +1 -0
- package/backend/dist/src/sessions/sessions.module.js.map +1 -0
- package/backend/dist/src/sessions/sessions.service.js.map +1 -0
- package/backend/dist/src/system-prompts/dto/system-prompt.dto.js.map +1 -0
- package/backend/dist/src/system-prompts/system-prompts.controller.js.map +1 -0
- package/backend/dist/src/system-prompts/system-prompts.module.js.map +1 -0
- package/backend/dist/src/system-prompts/system-prompts.service.js.map +1 -0
- package/backend/dist/src/timeout.interceptor.js +35 -0
- package/backend/dist/src/timeout.interceptor.js.map +1 -0
- package/backend/dist/src/tracing.js.map +1 -0
- package/backend/dist/src/utils/fuzzy-search.js.map +1 -0
- package/backend/dist/src/utils/index.js.map +1 -0
- package/backend/dist/src/utils/trace.decorator.js.map +1 -0
- package/backend/dist/src/workspace/dto/file-tree.dto.js.map +1 -0
- package/backend/dist/src/workspace/dto/search-workspace.dto.js.map +1 -0
- package/backend/dist/src/workspace/workspace.controller.js.map +1 -0
- package/backend/dist/src/workspace/workspace.module.js.map +1 -0
- package/backend/dist/src/workspace/workspace.service.js.map +1 -0
- package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
- package/backend/node_modules/@typescript-eslint/eslint-plugin/LICENSE +21 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/README.md +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +156 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/base.js +13 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/base.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js +64 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js +31 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended-type-checked.js +54 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended-type-checked.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended.js +33 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js +79 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +43 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic-type-checked.js +35 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic-type-checked.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic.js +29 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +39 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +140 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +222 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +76 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +156 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +56 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +240 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js +140 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +99 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +123 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +211 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +166 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +152 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +109 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +128 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +222 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +98 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +245 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +635 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +63 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +120 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +112 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +164 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +283 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +366 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +147 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +415 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +288 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +48 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js +322 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +95 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js +357 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +57 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +67 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +258 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +747 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +181 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +101 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +91 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +75 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +291 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +18 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +3 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +351 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +488 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +53 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +83 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +164 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +78 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +293 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +51 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +62 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +139 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +95 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +132 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +94 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +170 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +36 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +297 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +43 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +112 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +342 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +160 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +56 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +185 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +76 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +182 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +169 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +39 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +213 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +96 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +82 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +523 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +193 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +63 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +76 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +66 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +104 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +201 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +372 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +90 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +237 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +482 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +65 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +96 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +260 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +234 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +540 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +149 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +150 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +252 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +112 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +226 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +282 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +83 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +56 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +168 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +123 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +161 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +68 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +58 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +490 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +297 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +59 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +72 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-template-literals.js +138 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-template-literals.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +67 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +125 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +226 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +634 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +171 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +73 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +200 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +65 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +235 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +156 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +186 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +231 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +72 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +46 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +348 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +3 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +417 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +318 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +279 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +175 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +107 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +82 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +315 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +74 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +159 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +137 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +508 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +62 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +182 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +63 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +62 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +212 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +211 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +145 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +268 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +64 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +228 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +80 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +143 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +133 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +800 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +242 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +110 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +228 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +200 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +245 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +398 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +89 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +562 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +6 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +16 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +241 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +45 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +163 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +418 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +46 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +20 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +26 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +8 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +155 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +42 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +27 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +9 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +9 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +189 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +27 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +30 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +99 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +111 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +42 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +151 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +39 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +132 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/block-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/camelcase.md +13 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +105 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.md +96 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +20 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-generic-constructors.md +76 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +80 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +113 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +81 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +105 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +108 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +58 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +82 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +320 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +344 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +249 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +18 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/key-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-around-comment.md +25 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +55 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/max-params.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +164 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +1438 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +113 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +721 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +29 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-delete.md +40 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +88 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +56 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +116 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +14 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +58 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +13 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-type-constituents.md +66 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +53 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +92 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +59 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +168 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +54 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +295 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +124 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +61 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +102 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-import-type-side-effects.md +74 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +103 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +14 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +112 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +119 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +53 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +47 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +246 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-mixed-enums.md +88 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +131 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +54 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +40 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +42 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +75 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +92 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +71 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +105 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +108 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +109 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +623 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +133 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +119 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +51 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +79 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +77 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +55 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +93 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +96 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +68 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-declaration-merging.md +59 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-enum-comparison.md +82 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +74 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +113 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-unary-minus.md +52 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +27 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +87 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +19 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +47 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-template-literals.md +57 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +41 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +33 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +488 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +47 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-destructuring.md +91 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +62 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-find.md +39 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +44 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +92 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +75 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +103 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +47 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +187 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +263 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-promise-reject-errors.md +50 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +389 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +102 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +46 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +87 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +58 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +70 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +132 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +78 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +22 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +208 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +121 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +216 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-constituents.md +163 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +43 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +16 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +190 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +225 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +110 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +317 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +320 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +105 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +77 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +9 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/package.json +106 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts +45 -0
- package/backend/node_modules/@typescript-eslint/parser/LICENSE +22 -0
- package/backend/node_modules/@typescript-eslint/parser/README.md +12 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/index.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/index.js +17 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/parser.d.ts +20 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/parser.js +130 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/parser/package.json +85 -0
- package/backend/node_modules/@typescript-eslint/type-utils/LICENSE +21 -0
- package/backend/node_modules/@typescript-eslint/type-utils/README.md +14 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts +21 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +188 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts +39 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +130 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +61 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +7 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +15 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +66 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts +7 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +16 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts +6 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +38 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +51 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts +6 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js +16 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +74 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/index.d.ts +19 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/index.js +39 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +18 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +27 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +226 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts +17 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +106 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +58 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.js +169 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts +4 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +37 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts +4 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +43 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts +16 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +59 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/package.json +81 -0
- package/backend/node_modules/@typescript-eslint/utils/LICENSE +21 -0
- package/backend/node_modules/@typescript-eslint/utils/README.md +12 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +36 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +40 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +99 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.d.ts +6 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +22 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +72 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +44 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +1231 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +22 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +5 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +21 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +13 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +70 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +135 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +3 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +35 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +45 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +34 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.js +32 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts +17 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +48 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts +24 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +46 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +24 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +14 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +28 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.js +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/index.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/index.js +41 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts +388 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.js +9 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts +9 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +4 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts +131 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js +18 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts +260 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +4 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +374 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +24 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +247 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +14 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.d.ts +89 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +4 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +3 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts +37 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +4 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +514 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +3 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +162 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts +44 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +34 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +362 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +9 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.d.ts +13 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +29 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.js +10 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +18 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +9 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/package.json +98 -0
- package/backend/node_modules/chalk/index.d.ts +415 -0
- package/backend/node_modules/chalk/license +9 -0
- package/backend/node_modules/chalk/package.json +68 -0
- package/backend/node_modules/chalk/readme.md +341 -0
- package/backend/node_modules/chalk/source/index.js +229 -0
- package/backend/node_modules/chalk/source/templates.js +134 -0
- package/backend/node_modules/chalk/source/util.js +39 -0
- package/backend/node_modules/debug/LICENSE +20 -0
- package/backend/node_modules/debug/README.md +481 -0
- package/backend/node_modules/debug/package.json +64 -0
- package/backend/node_modules/debug/src/browser.js +272 -0
- package/backend/node_modules/debug/src/common.js +292 -0
- package/backend/node_modules/debug/src/index.js +10 -0
- package/backend/node_modules/debug/src/node.js +263 -0
- package/backend/node_modules/eslint/LICENSE +19 -0
- package/backend/node_modules/eslint/README.md +304 -0
- package/backend/node_modules/eslint/bin/eslint.js +173 -0
- package/backend/node_modules/eslint/conf/config-schema.js +93 -0
- package/backend/node_modules/eslint/conf/default-cli-options.js +32 -0
- package/backend/node_modules/eslint/conf/globals.js +154 -0
- package/backend/node_modules/eslint/conf/replacements.json +22 -0
- package/backend/node_modules/eslint/conf/rule-type-list.json +28 -0
- package/backend/node_modules/eslint/lib/api.js +54 -0
- package/backend/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
- package/backend/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
- package/backend/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- package/backend/node_modules/eslint/lib/cli-engine/index.js +7 -0
- package/backend/node_modules/eslint/lib/cli-engine/lint-result-cache.js +203 -0
- package/backend/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- package/backend/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
- package/backend/node_modules/eslint/lib/cli.js +471 -0
- package/backend/node_modules/eslint/lib/config/default-config.js +67 -0
- package/backend/node_modules/eslint/lib/config/flat-config-array.js +380 -0
- package/backend/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
- package/backend/node_modules/eslint/lib/config/flat-config-schema.js +598 -0
- package/backend/node_modules/eslint/lib/config/rule-validator.js +158 -0
- package/backend/node_modules/eslint/lib/eslint/eslint-helpers.js +932 -0
- package/backend/node_modules/eslint/lib/eslint/eslint.js +707 -0
- package/backend/node_modules/eslint/lib/eslint/flat-eslint.js +1159 -0
- package/backend/node_modules/eslint/lib/eslint/index.js +9 -0
- package/backend/node_modules/eslint/lib/linter/apply-disable-directives.js +465 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2348 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +342 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +349 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
- package/backend/node_modules/eslint/lib/linter/config-comment-parser.js +185 -0
- package/backend/node_modules/eslint/lib/linter/index.js +13 -0
- package/backend/node_modules/eslint/lib/linter/interpolate.js +28 -0
- package/backend/node_modules/eslint/lib/linter/linter.js +2119 -0
- package/backend/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
- package/backend/node_modules/eslint/lib/linter/report-translator.js +369 -0
- package/backend/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
- package/backend/node_modules/eslint/lib/linter/rules.js +80 -0
- package/backend/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
- package/backend/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
- package/backend/node_modules/eslint/lib/linter/timing.js +161 -0
- package/backend/node_modules/eslint/lib/options.js +398 -0
- package/backend/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1131 -0
- package/backend/node_modules/eslint/lib/rule-tester/index.js +5 -0
- package/backend/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
- package/backend/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
- package/backend/node_modules/eslint/lib/rules/array-bracket-newline.js +261 -0
- package/backend/node_modules/eslint/lib/rules/array-bracket-spacing.js +244 -0
- package/backend/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
- package/backend/node_modules/eslint/lib/rules/array-element-newline.js +311 -0
- package/backend/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
- package/backend/node_modules/eslint/lib/rules/arrow-parens.js +186 -0
- package/backend/node_modules/eslint/lib/rules/arrow-spacing.js +164 -0
- package/backend/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
- package/backend/node_modules/eslint/lib/rules/block-spacing.js +174 -0
- package/backend/node_modules/eslint/lib/rules/brace-style.js +197 -0
- package/backend/node_modules/eslint/lib/rules/callback-return.js +187 -0
- package/backend/node_modules/eslint/lib/rules/camelcase.js +399 -0
- package/backend/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
- package/backend/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
- package/backend/node_modules/eslint/lib/rules/comma-dangle.js +373 -0
- package/backend/node_modules/eslint/lib/rules/comma-spacing.js +192 -0
- package/backend/node_modules/eslint/lib/rules/comma-style.js +314 -0
- package/backend/node_modules/eslint/lib/rules/complexity.js +165 -0
- package/backend/node_modules/eslint/lib/rules/computed-property-spacing.js +208 -0
- package/backend/node_modules/eslint/lib/rules/consistent-return.js +210 -0
- package/backend/node_modules/eslint/lib/rules/consistent-this.js +153 -0
- package/backend/node_modules/eslint/lib/rules/constructor-super.js +446 -0
- package/backend/node_modules/eslint/lib/rules/curly.js +486 -0
- package/backend/node_modules/eslint/lib/rules/default-case-last.js +44 -0
- package/backend/node_modules/eslint/lib/rules/default-case.js +97 -0
- package/backend/node_modules/eslint/lib/rules/default-param-last.js +62 -0
- package/backend/node_modules/eslint/lib/rules/dot-location.js +108 -0
- package/backend/node_modules/eslint/lib/rules/dot-notation.js +176 -0
- package/backend/node_modules/eslint/lib/rules/eol-last.js +115 -0
- package/backend/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
- package/backend/node_modules/eslint/lib/rules/for-direction.js +140 -0
- package/backend/node_modules/eslint/lib/rules/func-call-spacing.js +233 -0
- package/backend/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
- package/backend/node_modules/eslint/lib/rules/func-names.js +191 -0
- package/backend/node_modules/eslint/lib/rules/func-style.js +98 -0
- package/backend/node_modules/eslint/lib/rules/function-call-argument-newline.js +125 -0
- package/backend/node_modules/eslint/lib/rules/function-paren-newline.js +292 -0
- package/backend/node_modules/eslint/lib/rules/generator-star-spacing.js +209 -0
- package/backend/node_modules/eslint/lib/rules/getter-return.js +204 -0
- package/backend/node_modules/eslint/lib/rules/global-require.js +90 -0
- package/backend/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
- package/backend/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
- package/backend/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
- package/backend/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
- package/backend/node_modules/eslint/lib/rules/id-denylist.js +228 -0
- package/backend/node_modules/eslint/lib/rules/id-length.js +177 -0
- package/backend/node_modules/eslint/lib/rules/id-match.js +299 -0
- package/backend/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +84 -0
- package/backend/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
- package/backend/node_modules/eslint/lib/rules/indent.js +1803 -0
- package/backend/node_modules/eslint/lib/rules/index.js +306 -0
- package/backend/node_modules/eslint/lib/rules/init-declarations.js +139 -0
- package/backend/node_modules/eslint/lib/rules/jsx-quotes.js +98 -0
- package/backend/node_modules/eslint/lib/rules/key-spacing.js +687 -0
- package/backend/node_modules/eslint/lib/rules/keyword-spacing.js +640 -0
- package/backend/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
- package/backend/node_modules/eslint/lib/rules/linebreak-style.js +108 -0
- package/backend/node_modules/eslint/lib/rules/lines-around-comment.js +471 -0
- package/backend/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
- package/backend/node_modules/eslint/lib/rules/lines-between-class-members.js +269 -0
- package/backend/node_modules/eslint/lib/rules/logical-assignment-operators.js +504 -0
- package/backend/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
- package/backend/node_modules/eslint/lib/rules/max-depth.js +156 -0
- package/backend/node_modules/eslint/lib/rules/max-len.js +440 -0
- package/backend/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
- package/backend/node_modules/eslint/lib/rules/max-lines.js +193 -0
- package/backend/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
- package/backend/node_modules/eslint/lib/rules/max-params.js +102 -0
- package/backend/node_modules/eslint/lib/rules/max-statements-per-line.js +199 -0
- package/backend/node_modules/eslint/lib/rules/max-statements.js +184 -0
- package/backend/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
- package/backend/node_modules/eslint/lib/rules/multiline-ternary.js +174 -0
- package/backend/node_modules/eslint/lib/rules/new-cap.js +276 -0
- package/backend/node_modules/eslint/lib/rules/new-parens.js +93 -0
- package/backend/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
- package/backend/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
- package/backend/node_modules/eslint/lib/rules/newline-per-chained-call.js +126 -0
- package/backend/node_modules/eslint/lib/rules/no-alert.js +138 -0
- package/backend/node_modules/eslint/lib/rules/no-array-constructor.js +133 -0
- package/backend/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
- package/backend/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
- package/backend/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
- package/backend/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
- package/backend/node_modules/eslint/lib/rules/no-caller.js +46 -0
- package/backend/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
- package/backend/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
- package/backend/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
- package/backend/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
- package/backend/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
- package/backend/node_modules/eslint/lib/rules/no-confusing-arrow.js +92 -0
- package/backend/node_modules/eslint/lib/rules/no-console.js +207 -0
- package/backend/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
- package/backend/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
- package/backend/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
- package/backend/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- package/backend/node_modules/eslint/lib/rules/no-continue.js +39 -0
- package/backend/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
- package/backend/node_modules/eslint/lib/rules/no-debugger.js +43 -0
- package/backend/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- package/backend/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
- package/backend/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
- package/backend/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
- package/backend/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
- package/backend/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
- package/backend/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
- package/backend/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
- package/backend/node_modules/eslint/lib/rules/no-else-return.js +405 -0
- package/backend/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
- package/backend/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
- package/backend/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
- package/backend/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
- package/backend/node_modules/eslint/lib/rules/no-empty.js +103 -0
- package/backend/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
- package/backend/node_modules/eslint/lib/rules/no-eval.js +286 -0
- package/backend/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
- package/backend/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-parens.js +1322 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-semi.js +147 -0
- package/backend/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
- package/backend/node_modules/eslint/lib/rules/no-floating-decimal.js +73 -0
- package/backend/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
- package/backend/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
- package/backend/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
- package/backend/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
- package/backend/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
- package/backend/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
- package/backend/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
- package/backend/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
- package/backend/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
- package/backend/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
- package/backend/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
- package/backend/node_modules/eslint/lib/rules/no-iterator.js +52 -0
- package/backend/node_modules/eslint/lib/rules/no-label-var.js +80 -0
- package/backend/node_modules/eslint/lib/rules/no-labels.js +149 -0
- package/backend/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
- package/backend/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
- package/backend/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
- package/backend/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
- package/backend/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
- package/backend/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
- package/backend/node_modules/eslint/lib/rules/no-mixed-operators.js +229 -0
- package/backend/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
- package/backend/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +116 -0
- package/backend/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
- package/backend/node_modules/eslint/lib/rules/no-multi-spaces.js +141 -0
- package/backend/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
- package/backend/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +154 -0
- package/backend/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
- package/backend/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
- package/backend/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
- package/backend/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
- package/backend/node_modules/eslint/lib/rules/no-new-func.js +87 -0
- package/backend/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
- package/backend/node_modules/eslint/lib/rules/no-new-object.js +67 -0
- package/backend/node_modules/eslint/lib/rules/no-new-require.js +50 -0
- package/backend/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
- package/backend/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
- package/backend/node_modules/eslint/lib/rules/no-new.js +43 -0
- package/backend/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
- package/backend/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
- package/backend/node_modules/eslint/lib/rules/no-object-constructor.js +117 -0
- package/backend/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
- package/backend/node_modules/eslint/lib/rules/no-octal.js +45 -0
- package/backend/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
- package/backend/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
- package/backend/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
- package/backend/node_modules/eslint/lib/rules/no-process-env.js +51 -0
- package/backend/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
- package/backend/node_modules/eslint/lib/rules/no-promise-executor-return.js +263 -0
- package/backend/node_modules/eslint/lib/rules/no-proto.js +48 -0
- package/backend/node_modules/eslint/lib/rules/no-prototype-builtins.js +159 -0
- package/backend/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
- package/backend/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-imports.js +410 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-properties.js +168 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
- package/backend/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
- package/backend/node_modules/eslint/lib/rules/no-return-await.js +135 -0
- package/backend/node_modules/eslint/lib/rules/no-script-url.js +61 -0
- package/backend/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
- package/backend/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
- package/backend/node_modules/eslint/lib/rules/no-sequences.js +138 -0
- package/backend/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
- package/backend/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
- package/backend/node_modules/eslint/lib/rules/no-shadow.js +336 -0
- package/backend/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
- package/backend/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
- package/backend/node_modules/eslint/lib/rules/no-sync.js +64 -0
- package/backend/node_modules/eslint/lib/rules/no-tabs.js +81 -0
- package/backend/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
- package/backend/node_modules/eslint/lib/rules/no-ternary.js +41 -0
- package/backend/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
- package/backend/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
- package/backend/node_modules/eslint/lib/rules/no-trailing-spaces.js +193 -0
- package/backend/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
- package/backend/node_modules/eslint/lib/rules/no-undef.js +79 -0
- package/backend/node_modules/eslint/lib/rules/no-undefined.js +86 -0
- package/backend/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
- package/backend/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
- package/backend/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- package/backend/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
- package/backend/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
- package/backend/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
- package/backend/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
- package/backend/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
- package/backend/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
- package/backend/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
- package/backend/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
- package/backend/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
- package/backend/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
- package/backend/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
- package/backend/node_modules/eslint/lib/rules/no-var.js +334 -0
- package/backend/node_modules/eslint/lib/rules/no-void.js +64 -0
- package/backend/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
- package/backend/node_modules/eslint/lib/rules/no-whitespace-before-property.js +116 -0
- package/backend/node_modules/eslint/lib/rules/no-with.js +39 -0
- package/backend/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +127 -0
- package/backend/node_modules/eslint/lib/rules/object-curly-newline.js +324 -0
- package/backend/node_modules/eslint/lib/rules/object-curly-spacing.js +311 -0
- package/backend/node_modules/eslint/lib/rules/object-property-newline.js +102 -0
- package/backend/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
- package/backend/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +95 -0
- package/backend/node_modules/eslint/lib/rules/one-var.js +567 -0
- package/backend/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
- package/backend/node_modules/eslint/lib/rules/operator-linebreak.js +253 -0
- package/backend/node_modules/eslint/lib/rules/padded-blocks.js +310 -0
- package/backend/node_modules/eslint/lib/rules/padding-line-between-statements.js +590 -0
- package/backend/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
- package/backend/node_modules/eslint/lib/rules/prefer-const.js +501 -0
- package/backend/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
- package/backend/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
- package/backend/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
- package/backend/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
- package/backend/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
- package/backend/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
- package/backend/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
- package/backend/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
- package/backend/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
- package/backend/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
- package/backend/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
- package/backend/node_modules/eslint/lib/rules/prefer-template.js +275 -0
- package/backend/node_modules/eslint/lib/rules/quote-props.js +310 -0
- package/backend/node_modules/eslint/lib/rules/quotes.js +350 -0
- package/backend/node_modules/eslint/lib/rules/radix.js +198 -0
- package/backend/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
- package/backend/node_modules/eslint/lib/rules/require-await.js +113 -0
- package/backend/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
- package/backend/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
- package/backend/node_modules/eslint/lib/rules/require-yield.js +77 -0
- package/backend/node_modules/eslint/lib/rules/rest-spread-spacing.js +123 -0
- package/backend/node_modules/eslint/lib/rules/semi-spacing.js +248 -0
- package/backend/node_modules/eslint/lib/rules/semi-style.js +158 -0
- package/backend/node_modules/eslint/lib/rules/semi.js +438 -0
- package/backend/node_modules/eslint/lib/rules/sort-imports.js +241 -0
- package/backend/node_modules/eslint/lib/rules/sort-keys.js +230 -0
- package/backend/node_modules/eslint/lib/rules/sort-vars.js +104 -0
- package/backend/node_modules/eslint/lib/rules/space-before-blocks.js +204 -0
- package/backend/node_modules/eslint/lib/rules/space-before-function-paren.js +167 -0
- package/backend/node_modules/eslint/lib/rules/space-in-parens.js +285 -0
- package/backend/node_modules/eslint/lib/rules/space-infix-ops.js +198 -0
- package/backend/node_modules/eslint/lib/rules/space-unary-ops.js +324 -0
- package/backend/node_modules/eslint/lib/rules/spaced-comment.js +385 -0
- package/backend/node_modules/eslint/lib/rules/strict.js +277 -0
- package/backend/node_modules/eslint/lib/rules/switch-colon-spacing.js +132 -0
- package/backend/node_modules/eslint/lib/rules/symbol-description.js +73 -0
- package/backend/node_modules/eslint/lib/rules/template-curly-spacing.js +144 -0
- package/backend/node_modules/eslint/lib/rules/template-tag-spacing.js +93 -0
- package/backend/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- package/backend/node_modules/eslint/lib/rules/use-isnan.js +141 -0
- package/backend/node_modules/eslint/lib/rules/utils/ast-utils.js +2282 -0
- package/backend/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
- package/backend/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- package/backend/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- package/backend/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
- package/backend/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/backend/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
- package/backend/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
- package/backend/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
- package/backend/node_modules/eslint/lib/rules/wrap-iife.js +207 -0
- package/backend/node_modules/eslint/lib/rules/wrap-regex.js +61 -0
- package/backend/node_modules/eslint/lib/rules/yield-star-spacing.js +130 -0
- package/backend/node_modules/eslint/lib/rules/yoda.js +353 -0
- package/backend/node_modules/eslint/lib/shared/ajv.js +34 -0
- package/backend/node_modules/eslint/lib/shared/ast-utils.js +29 -0
- package/backend/node_modules/eslint/lib/shared/config-validator.js +347 -0
- package/backend/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
- package/backend/node_modules/eslint/lib/shared/directives.js +15 -0
- package/backend/node_modules/eslint/lib/shared/logging.js +30 -0
- package/backend/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
- package/backend/node_modules/eslint/lib/shared/runtime-info.js +167 -0
- package/backend/node_modules/eslint/lib/shared/severity.js +49 -0
- package/backend/node_modules/eslint/lib/shared/string-utils.js +60 -0
- package/backend/node_modules/eslint/lib/shared/traverser.js +195 -0
- package/backend/node_modules/eslint/lib/shared/types.js +216 -0
- package/backend/node_modules/eslint/lib/source-code/index.js +5 -0
- package/backend/node_modules/eslint/lib/source-code/source-code.js +1055 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
- package/backend/node_modules/eslint/lib/unsupported-api.js +30 -0
- package/backend/node_modules/eslint/messages/all-files-ignored.js +16 -0
- package/backend/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
- package/backend/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
- package/backend/node_modules/eslint/messages/extend-config-missing.js +13 -0
- package/backend/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- package/backend/node_modules/eslint/messages/file-not-found.js +10 -0
- package/backend/node_modules/eslint/messages/invalid-rule-options.js +17 -0
- package/backend/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
- package/backend/node_modules/eslint/messages/no-config-found.js +15 -0
- package/backend/node_modules/eslint/messages/plugin-conflict.js +22 -0
- package/backend/node_modules/eslint/messages/plugin-invalid.js +16 -0
- package/backend/node_modules/eslint/messages/plugin-missing.js +19 -0
- package/backend/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- package/backend/node_modules/eslint/messages/shared.js +18 -0
- package/backend/node_modules/eslint/messages/whitespace-found.js +11 -0
- package/backend/node_modules/eslint/package.json +181 -0
- package/backend/node_modules/undici-types/LICENSE +21 -0
- package/backend/node_modules/undici-types/README.md +6 -0
- package/backend/node_modules/undici-types/agent.d.ts +31 -0
- package/backend/node_modules/undici-types/api.d.ts +43 -0
- package/backend/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/backend/node_modules/undici-types/cache.d.ts +36 -0
- package/backend/node_modules/undici-types/client.d.ts +108 -0
- package/backend/node_modules/undici-types/connector.d.ts +34 -0
- package/backend/node_modules/undici-types/content-type.d.ts +21 -0
- package/backend/node_modules/undici-types/cookies.d.ts +28 -0
- package/backend/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/backend/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/backend/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/backend/node_modules/undici-types/errors.d.ts +149 -0
- package/backend/node_modules/undici-types/eventsource.d.ts +61 -0
- package/backend/node_modules/undici-types/fetch.d.ts +209 -0
- package/backend/node_modules/undici-types/file.d.ts +39 -0
- package/backend/node_modules/undici-types/filereader.d.ts +54 -0
- package/backend/node_modules/undici-types/formdata.d.ts +108 -0
- package/backend/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/backend/node_modules/undici-types/global-origin.d.ts +7 -0
- package/backend/node_modules/undici-types/handlers.d.ts +15 -0
- package/backend/node_modules/undici-types/header.d.ts +4 -0
- package/backend/node_modules/undici-types/index.d.ts +71 -0
- package/backend/node_modules/undici-types/interceptors.d.ts +17 -0
- package/backend/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/backend/node_modules/undici-types/mock-client.d.ts +25 -0
- package/backend/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/backend/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/backend/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/backend/node_modules/undici-types/package.json +55 -0
- package/backend/node_modules/undici-types/patch.d.ts +33 -0
- package/backend/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/backend/node_modules/undici-types/pool.d.ts +39 -0
- package/backend/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/backend/node_modules/undici-types/readable.d.ts +65 -0
- package/backend/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/backend/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/backend/node_modules/undici-types/util.d.ts +18 -0
- package/backend/node_modules/undici-types/webidl.d.ts +228 -0
- package/backend/node_modules/undici-types/websocket.d.ts +150 -0
- package/backend/packages/gemini-core/examples/simple.ts +120 -0
- package/backend/packages/gemini-core/index.ts +15 -0
- package/backend/packages/gemini-core/src/code_assist/codeAssist.ts +37 -0
- package/backend/packages/gemini-core/src/code_assist/converter.ts +250 -0
- package/backend/packages/gemini-core/src/code_assist/oauth-credential-storage.ts +129 -0
- package/backend/packages/gemini-core/src/code_assist/oauth2.ts +541 -0
- package/backend/packages/gemini-core/src/code_assist/server.ts +236 -0
- package/backend/packages/gemini-core/src/code_assist/setup.ts +124 -0
- package/backend/packages/gemini-core/src/code_assist/types.ts +201 -0
- package/backend/packages/gemini-core/src/config/config.ts +75 -0
- package/backend/packages/gemini-core/src/config/models.ts +23 -0
- package/backend/packages/gemini-core/src/config/storage.ts +30 -0
- package/backend/packages/gemini-core/src/core/contentGenerator.ts +136 -0
- package/backend/packages/gemini-core/src/core/geminiChat.ts +385 -0
- package/backend/packages/gemini-core/src/core/geminiRequest.ts +19 -0
- package/backend/packages/gemini-core/src/core/prompts.ts +109 -0
- package/backend/packages/gemini-core/src/core/tokenLimits.ts +32 -0
- package/backend/packages/gemini-core/src/index.ts +35 -0
- package/backend/packages/gemini-core/src/mcp/token-storage/base-token-storage.ts +49 -0
- package/backend/packages/gemini-core/src/mcp/token-storage/file-token-storage.ts +184 -0
- package/backend/packages/gemini-core/src/mcp/token-storage/hybrid-token-storage.ts +97 -0
- package/backend/packages/gemini-core/src/mcp/token-storage/index.ts +14 -0
- package/backend/packages/gemini-core/src/mcp/token-storage/keychain-token-storage.ts +251 -0
- package/backend/packages/gemini-core/src/mcp/token-storage/types.ts +42 -0
- package/backend/packages/gemini-core/src/utils/errors.ts +112 -0
- package/backend/packages/gemini-core/src/utils/partUtils.ts +169 -0
- package/backend/packages/gemini-core/src/utils/quotaErrorDetection.ts +102 -0
- package/backend/packages/gemini-core/src/utils/retry.ts +265 -0
- package/backend/packages/gemini-core/src/utils/session.ts +9 -0
- package/backend/packages/gemini-core/src/utils/userAccountManager.ts +140 -0
- package/daemon/node_modules/undici-types/LICENSE +21 -0
- package/daemon/node_modules/undici-types/README.md +6 -0
- package/daemon/node_modules/undici-types/agent.d.ts +31 -0
- package/daemon/node_modules/undici-types/api.d.ts +43 -0
- package/daemon/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/daemon/node_modules/undici-types/cache.d.ts +36 -0
- package/daemon/node_modules/undici-types/client.d.ts +108 -0
- package/daemon/node_modules/undici-types/connector.d.ts +34 -0
- package/daemon/node_modules/undici-types/content-type.d.ts +21 -0
- package/daemon/node_modules/undici-types/cookies.d.ts +28 -0
- package/daemon/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/daemon/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/daemon/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/daemon/node_modules/undici-types/errors.d.ts +149 -0
- package/daemon/node_modules/undici-types/eventsource.d.ts +61 -0
- package/daemon/node_modules/undici-types/fetch.d.ts +209 -0
- package/daemon/node_modules/undici-types/file.d.ts +39 -0
- package/daemon/node_modules/undici-types/filereader.d.ts +54 -0
- package/daemon/node_modules/undici-types/formdata.d.ts +108 -0
- package/daemon/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/daemon/node_modules/undici-types/global-origin.d.ts +7 -0
- package/daemon/node_modules/undici-types/handlers.d.ts +15 -0
- package/daemon/node_modules/undici-types/header.d.ts +4 -0
- package/daemon/node_modules/undici-types/index.d.ts +71 -0
- package/daemon/node_modules/undici-types/interceptors.d.ts +17 -0
- package/daemon/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/daemon/node_modules/undici-types/mock-client.d.ts +25 -0
- package/daemon/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/daemon/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/daemon/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/daemon/node_modules/undici-types/package.json +55 -0
- package/daemon/node_modules/undici-types/patch.d.ts +33 -0
- package/daemon/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/daemon/node_modules/undici-types/pool.d.ts +39 -0
- package/daemon/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/daemon/node_modules/undici-types/readable.d.ts +65 -0
- package/daemon/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/daemon/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/daemon/node_modules/undici-types/util.d.ts +18 -0
- package/daemon/node_modules/undici-types/webidl.d.ts +228 -0
- package/daemon/node_modules/undici-types/websocket.d.ts +150 -0
- package/package.json +5 -3
- package/backend/.repoburg/orchestrations/README.md +0 -41
- package/backend/dist/action-execution/action-execution.module.js.map +0 -1
- package/backend/dist/action-execution/action-execution.service.js.map +0 -1
- package/backend/dist/ai-actions/ai-action-batch.service.js.map +0 -1
- package/backend/dist/ai-actions/ai-action-creation.service.js.map +0 -1
- package/backend/dist/ai-actions/ai-actions.controller.js.map +0 -1
- package/backend/dist/ai-actions/ai-actions.module.js.map +0 -1
- package/backend/dist/ai-actions/ai-actions.service.js.map +0 -1
- package/backend/dist/app.controller.js.map +0 -1
- package/backend/dist/app.module.js.map +0 -1
- package/backend/dist/app.service.js.map +0 -1
- package/backend/dist/application-state/application-state.controller.js.map +0 -1
- package/backend/dist/application-state/application-state.module.js.map +0 -1
- package/backend/dist/application-state/application-state.service.js.map +0 -1
- package/backend/dist/application-state/dto/set-auto-context-fetch-enabled.dto.js.map +0 -1
- package/backend/dist/application-state/dto/set-auto-send-to-ai-studio-enabled.dto.js.map +0 -1
- package/backend/dist/application-state/dto/set-context-token-limit.dto.js.map +0 -1
- package/backend/dist/application-state/dto/set-orchestration-timeout.dto.js.map +0 -1
- package/backend/dist/application-state/dto/set-theme.dto.js.map +0 -1
- package/backend/dist/application-state/dto/set-websocket-enabled.dto.js.map +0 -1
- package/backend/dist/context-generation/context-generation.module.js.map +0 -1
- package/backend/dist/context-generation/context-generation.service.js.map +0 -1
- package/backend/dist/context-snippets/context-snippets.controller.js.map +0 -1
- package/backend/dist/context-snippets/context-snippets.module.js.map +0 -1
- package/backend/dist/context-snippets/context-snippets.service.js.map +0 -1
- package/backend/dist/context-snippets/dto/context-snippet.dto.js.map +0 -1
- package/backend/dist/context-templates/context-templates.controller.js.map +0 -1
- package/backend/dist/context-templates/context-templates.module.js.map +0 -1
- package/backend/dist/context-templates/context-templates.service.js.map +0 -1
- package/backend/dist/context-templates/dto/context-template.dto.js.map +0 -1
- package/backend/dist/core-entities/ai-action.entity.js.map +0 -1
- package/backend/dist/core-entities/application-state.entity.js.map +0 -1
- package/backend/dist/core-entities/base.entity.js.map +0 -1
- package/backend/dist/core-entities/context-snippet.entity.js.map +0 -1
- package/backend/dist/core-entities/context-template.entity.js.map +0 -1
- package/backend/dist/core-entities/custom-snippet.entity.js.map +0 -1
- package/backend/dist/core-entities/execution-log.entity.js.map +0 -1
- package/backend/dist/core-entities/index.js.map +0 -1
- package/backend/dist/core-entities/project.entity.js.map +0 -1
- package/backend/dist/core-entities/session-input.entity.js.map +0 -1
- package/backend/dist/core-entities/session.entity.js.map +0 -1
- package/backend/dist/core-entities/system-prompt.entity.js.map +0 -1
- package/backend/dist/custom-snippets/custom-snippets.controller.js.map +0 -1
- package/backend/dist/custom-snippets/custom-snippets.module.js.map +0 -1
- package/backend/dist/custom-snippets/custom-snippets.service.js.map +0 -1
- package/backend/dist/custom-snippets/dto/custom-snippet.dto.js.map +0 -1
- package/backend/dist/events/events.gateway.js.map +0 -1
- package/backend/dist/events/events.module.js.map +0 -1
- package/backend/dist/execution-logs/dto/execution-log.dto.js.map +0 -1
- package/backend/dist/execution-logs/execution-logs.controller.js.map +0 -1
- package/backend/dist/execution-logs/execution-logs.module.js.map +0 -1
- package/backend/dist/execution-logs/execution-logs.service.js.map +0 -1
- package/backend/dist/http-exception.filter.js.map +0 -1
- package/backend/dist/llm-response-parser/dto/ai-action.dto.js.map +0 -1
- package/backend/dist/llm-response-parser/errors/parsing.error.js.map +0 -1
- package/backend/dist/llm-response-parser/llm-response-parser.module.js.map +0 -1
- package/backend/dist/llm-response-parser/llm-response-parser.service.js.map +0 -1
- package/backend/dist/llm-response-parser/parsing.constants.js.map +0 -1
- package/backend/dist/llm-responses/dto/submit-llm-response.dto.js.map +0 -1
- package/backend/dist/llm-responses/llm-responses.controller.js.map +0 -1
- package/backend/dist/llm-responses/llm-responses.module.js.map +0 -1
- package/backend/dist/llm-responses/llm-responses.service.js.map +0 -1
- package/backend/dist/main.js.map +0 -1
- package/backend/dist/orchestration/dto/orchestration.dto.js.map +0 -1
- package/backend/dist/orchestration/orchestration-fs.service.js.map +0 -1
- package/backend/dist/orchestration/orchestration-parser.service.js.map +0 -1
- package/backend/dist/orchestration/orchestration.controller.js.map +0 -1
- package/backend/dist/orchestration/orchestration.module.js.map +0 -1
- package/backend/dist/orchestration/orchestration.service.js.map +0 -1
- package/backend/dist/orchestration/orchestration.types.js.map +0 -1
- package/backend/dist/projects/dto/project.dto.js.map +0 -1
- package/backend/dist/projects/projects.controller.js.map +0 -1
- package/backend/dist/projects/projects.module.js.map +0 -1
- package/backend/dist/projects/projects.service.js.map +0 -1
- package/backend/dist/seeding/context-template-seeding.service.js.map +0 -1
- package/backend/dist/seeding/custom-snippet-seeding.service.js.map +0 -1
- package/backend/dist/seeding/data/context-templates/default-followup_ad-hoc-focused-context.js.map +0 -1
- package/backend/dist/seeding/data/context-templates/default-initial_condensed-project-context.js.map +0 -1
- package/backend/dist/seeding/data/context-templates/default-initial_full-project-context.js.map +0 -1
- package/backend/dist/seeding/data/context-templates/pm-context.js.map +0 -1
- package/backend/dist/seeding/data/context-templates/pr-description.js.map +0 -1
- package/backend/dist/seeding/data/context-templates/sample_focused-tree.d.ts +0 -2
- package/backend/dist/seeding/data/context-templates/sample_focused-tree.js +0 -17
- package/backend/dist/seeding/data/context-templates/sample_focused-tree.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/default_rglob.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/git-diff.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/rg-exclude.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/rg-search-glob.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/rg-search.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/run-command.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/tree.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/usr-adhoc-incl.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/usr-cmd-output-incl.js.map +0 -1
- package/backend/dist/seeding/data/custom-snippets/usr-input-incl.js.map +0 -1
- package/backend/dist/seeding/data/system-prompts/codebase-explorer.js.map +0 -1
- package/backend/dist/seeding/data/system-prompts/default_multi-file-action-generator-with-requester.js.map +0 -1
- package/backend/dist/seeding/data/system-prompts/packup.js.map +0 -1
- package/backend/dist/seeding/data/system-prompts/refactor-split.js.map +0 -1
- package/backend/dist/seeding/seeding.module.js.map +0 -1
- package/backend/dist/seeding/seeding.service.js.map +0 -1
- package/backend/dist/seeding/system-prompt-seeding.service.js.map +0 -1
- package/backend/dist/session-followup/session-followup.module.js.map +0 -1
- package/backend/dist/session-followup/session-followup.service.js.map +0 -1
- package/backend/dist/session-inputs/dto/session-input.dto.js.map +0 -1
- package/backend/dist/session-inputs/session-input-context.service.d.ts +0 -16
- package/backend/dist/session-inputs/session-input-context.service.js +0 -176
- package/backend/dist/session-inputs/session-input-context.service.js.map +0 -1
- package/backend/dist/session-inputs/session-inputs.controller.js.map +0 -1
- package/backend/dist/session-inputs/session-inputs.module.js +0 -48
- package/backend/dist/session-inputs/session-inputs.module.js.map +0 -1
- package/backend/dist/session-inputs/session-inputs.service.d.ts +0 -35
- package/backend/dist/session-inputs/session-inputs.service.js +0 -352
- package/backend/dist/session-inputs/session-inputs.service.js.map +0 -1
- package/backend/dist/session-transfer/session-transfer.module.js.map +0 -1
- package/backend/dist/session-transfer/session-transfer.service.js.map +0 -1
- package/backend/dist/sessions/dto/session.dto.js.map +0 -1
- package/backend/dist/sessions/sessions.controller.js.map +0 -1
- package/backend/dist/sessions/sessions.module.js.map +0 -1
- package/backend/dist/sessions/sessions.service.js.map +0 -1
- package/backend/dist/system-prompts/dto/system-prompt.dto.js.map +0 -1
- package/backend/dist/system-prompts/system-prompts.controller.js.map +0 -1
- package/backend/dist/system-prompts/system-prompts.module.js.map +0 -1
- package/backend/dist/system-prompts/system-prompts.service.js.map +0 -1
- package/backend/dist/timeout.interceptor.js +0 -35
- package/backend/dist/timeout.interceptor.js.map +0 -1
- package/backend/dist/tracing.js.map +0 -1
- package/backend/dist/utils/fuzzy-search.js.map +0 -1
- package/backend/dist/utils/index.js.map +0 -1
- package/backend/dist/utils/trace.decorator.js.map +0 -1
- package/backend/dist/workspace/dto/file-tree.dto.js.map +0 -1
- package/backend/dist/workspace/dto/search-workspace.dto.js.map +0 -1
- package/backend/dist/workspace/workspace.controller.js.map +0 -1
- package/backend/dist/workspace/workspace.module.js.map +0 -1
- package/backend/dist/workspace/workspace.service.js.map +0 -1
- /package/backend/dist/{action-execution → src/action-execution}/action-execution.module.d.ts +0 -0
- /package/backend/dist/{action-execution → src/action-execution}/action-execution.module.js +0 -0
- /package/backend/dist/{action-execution → src/action-execution}/action-execution.service.d.ts +0 -0
- /package/backend/dist/{action-execution → src/action-execution}/action-execution.service.js +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-action-batch.service.d.ts +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-action-batch.service.js +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-action-creation.service.d.ts +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-action-creation.service.js +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-actions.controller.d.ts +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-actions.controller.js +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-actions.module.d.ts +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-actions.module.js +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-actions.service.d.ts +0 -0
- /package/backend/dist/{ai-actions → src/ai-actions}/ai-actions.service.js +0 -0
- /package/backend/dist/{app.controller.d.ts → src/app.controller.d.ts} +0 -0
- /package/backend/dist/{app.controller.js → src/app.controller.js} +0 -0
- /package/backend/dist/{app.module.d.ts → src/app.module.d.ts} +0 -0
- /package/backend/dist/{app.module.js → src/app.module.js} +0 -0
- /package/backend/dist/{app.service.d.ts → src/app.service.d.ts} +0 -0
- /package/backend/dist/{app.service.js → src/app.service.js} +0 -0
- /package/backend/dist/{application-state → src/application-state}/application-state.controller.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/application-state.controller.js +0 -0
- /package/backend/dist/{application-state → src/application-state}/application-state.module.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/application-state.module.js +0 -0
- /package/backend/dist/{application-state → src/application-state}/application-state.service.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/application-state.service.js +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-auto-context-fetch-enabled.dto.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-auto-context-fetch-enabled.dto.js +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-auto-send-to-ai-studio-enabled.dto.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-auto-send-to-ai-studio-enabled.dto.js +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-context-token-limit.dto.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-context-token-limit.dto.js +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-orchestration-timeout.dto.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-orchestration-timeout.dto.js +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-theme.dto.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-theme.dto.js +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-websocket-enabled.dto.d.ts +0 -0
- /package/backend/dist/{application-state → src/application-state}/dto/set-websocket-enabled.dto.js +0 -0
- /package/backend/dist/{context-generation → src/context-generation}/context-generation.module.d.ts +0 -0
- /package/backend/dist/{context-generation → src/context-generation}/context-generation.module.js +0 -0
- /package/backend/dist/{context-generation → src/context-generation}/context-generation.service.d.ts +0 -0
- /package/backend/dist/{context-generation → src/context-generation}/context-generation.service.js +0 -0
- /package/backend/dist/{context-snippets → src/context-snippets}/context-snippets.controller.d.ts +0 -0
- /package/backend/dist/{context-snippets → src/context-snippets}/context-snippets.controller.js +0 -0
- /package/backend/dist/{context-snippets → src/context-snippets}/context-snippets.module.d.ts +0 -0
- /package/backend/dist/{context-snippets → src/context-snippets}/context-snippets.module.js +0 -0
- /package/backend/dist/{context-snippets → src/context-snippets}/context-snippets.service.d.ts +0 -0
- /package/backend/dist/{context-snippets → src/context-snippets}/context-snippets.service.js +0 -0
- /package/backend/dist/{context-snippets → src/context-snippets}/dto/context-snippet.dto.d.ts +0 -0
- /package/backend/dist/{context-snippets → src/context-snippets}/dto/context-snippet.dto.js +0 -0
- /package/backend/dist/{context-templates → src/context-templates}/context-templates.controller.d.ts +0 -0
- /package/backend/dist/{context-templates → src/context-templates}/context-templates.controller.js +0 -0
- /package/backend/dist/{context-templates → src/context-templates}/context-templates.module.d.ts +0 -0
- /package/backend/dist/{context-templates → src/context-templates}/context-templates.module.js +0 -0
- /package/backend/dist/{context-templates → src/context-templates}/context-templates.service.d.ts +0 -0
- /package/backend/dist/{context-templates → src/context-templates}/context-templates.service.js +0 -0
- /package/backend/dist/{context-templates → src/context-templates}/dto/context-template.dto.d.ts +0 -0
- /package/backend/dist/{context-templates → src/context-templates}/dto/context-template.dto.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/ai-action.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/ai-action.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/application-state.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/application-state.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/base.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/base.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/context-snippet.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/context-snippet.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/context-template.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/context-template.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/custom-snippet.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/custom-snippet.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/execution-log.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/execution-log.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/index.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/index.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/project.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/project.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/session-input.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/session-input.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/session.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/session.entity.js +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/system-prompt.entity.d.ts +0 -0
- /package/backend/dist/{core-entities → src/core-entities}/system-prompt.entity.js +0 -0
- /package/backend/dist/{custom-snippets → src/custom-snippets}/custom-snippets.controller.d.ts +0 -0
- /package/backend/dist/{custom-snippets → src/custom-snippets}/custom-snippets.controller.js +0 -0
- /package/backend/dist/{custom-snippets → src/custom-snippets}/custom-snippets.module.d.ts +0 -0
- /package/backend/dist/{custom-snippets → src/custom-snippets}/custom-snippets.module.js +0 -0
- /package/backend/dist/{custom-snippets → src/custom-snippets}/custom-snippets.service.d.ts +0 -0
- /package/backend/dist/{custom-snippets → src/custom-snippets}/custom-snippets.service.js +0 -0
- /package/backend/dist/{custom-snippets → src/custom-snippets}/dto/custom-snippet.dto.d.ts +0 -0
- /package/backend/dist/{custom-snippets → src/custom-snippets}/dto/custom-snippet.dto.js +0 -0
- /package/backend/dist/{events → src/events}/events.gateway.d.ts +0 -0
- /package/backend/dist/{events → src/events}/events.gateway.js +0 -0
- /package/backend/dist/{events → src/events}/events.module.d.ts +0 -0
- /package/backend/dist/{events → src/events}/events.module.js +0 -0
- /package/backend/dist/{execution-logs → src/execution-logs}/dto/execution-log.dto.d.ts +0 -0
- /package/backend/dist/{execution-logs → src/execution-logs}/dto/execution-log.dto.js +0 -0
- /package/backend/dist/{execution-logs → src/execution-logs}/execution-logs.controller.d.ts +0 -0
- /package/backend/dist/{execution-logs → src/execution-logs}/execution-logs.controller.js +0 -0
- /package/backend/dist/{execution-logs → src/execution-logs}/execution-logs.module.d.ts +0 -0
- /package/backend/dist/{execution-logs → src/execution-logs}/execution-logs.module.js +0 -0
- /package/backend/dist/{execution-logs → src/execution-logs}/execution-logs.service.d.ts +0 -0
- /package/backend/dist/{execution-logs → src/execution-logs}/execution-logs.service.js +0 -0
- /package/backend/dist/{http-exception.filter.d.ts → src/http-exception.filter.d.ts} +0 -0
- /package/backend/dist/{http-exception.filter.js → src/http-exception.filter.js} +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/dto/ai-action.dto.d.ts +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/dto/ai-action.dto.js +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/errors/parsing.error.d.ts +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/errors/parsing.error.js +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/llm-response-parser.module.d.ts +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/llm-response-parser.module.js +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/llm-response-parser.service.d.ts +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/llm-response-parser.service.js +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/parsing.constants.d.ts +0 -0
- /package/backend/dist/{llm-response-parser → src/llm-response-parser}/parsing.constants.js +0 -0
- /package/backend/dist/{llm-responses → src/llm-responses}/dto/submit-llm-response.dto.d.ts +0 -0
- /package/backend/dist/{llm-responses → src/llm-responses}/dto/submit-llm-response.dto.js +0 -0
- /package/backend/dist/{llm-responses → src/llm-responses}/llm-responses.controller.d.ts +0 -0
- /package/backend/dist/{llm-responses → src/llm-responses}/llm-responses.controller.js +0 -0
- /package/backend/dist/{llm-responses → src/llm-responses}/llm-responses.module.d.ts +0 -0
- /package/backend/dist/{llm-responses → src/llm-responses}/llm-responses.module.js +0 -0
- /package/backend/dist/{llm-responses → src/llm-responses}/llm-responses.service.d.ts +0 -0
- /package/backend/dist/{llm-responses → src/llm-responses}/llm-responses.service.js +0 -0
- /package/backend/dist/{main.d.ts → src/main.d.ts} +0 -0
- /package/backend/dist/{main.js → src/main.js} +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/dto/orchestration.dto.d.ts +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/dto/orchestration.dto.js +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration-fs.service.d.ts +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration-fs.service.js +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration-parser.service.d.ts +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration-parser.service.js +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration.controller.d.ts +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration.controller.js +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration.module.d.ts +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration.module.js +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration.service.d.ts +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration.service.js +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration.types.d.ts +0 -0
- /package/backend/dist/{orchestration → src/orchestration}/orchestration.types.js +0 -0
- /package/backend/dist/{projects → src/projects}/dto/project.dto.d.ts +0 -0
- /package/backend/dist/{projects → src/projects}/dto/project.dto.js +0 -0
- /package/backend/dist/{projects → src/projects}/projects.controller.d.ts +0 -0
- /package/backend/dist/{projects → src/projects}/projects.controller.js +0 -0
- /package/backend/dist/{projects → src/projects}/projects.module.d.ts +0 -0
- /package/backend/dist/{projects → src/projects}/projects.module.js +0 -0
- /package/backend/dist/{projects → src/projects}/projects.service.d.ts +0 -0
- /package/backend/dist/{projects → src/projects}/projects.service.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/context-template-seeding.service.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/context-template-seeding.service.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/custom-snippet-seeding.service.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/custom-snippet-seeding.service.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/default-followup_ad-hoc-focused-context.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/default-followup_ad-hoc-focused-context.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/default-initial_condensed-project-context.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/default-initial_condensed-project-context.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/default-initial_full-project-context.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/default-initial_full-project-context.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/pm-context.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/pm-context.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/pr-description.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/context-templates/pr-description.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/default_rglob.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/default_rglob.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/git-diff.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/git-diff.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/rg-exclude.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/rg-exclude.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/rg-search-glob.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/rg-search-glob.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/rg-search.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/rg-search.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/run-command.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/run-command.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/tree.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/tree.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/usr-adhoc-incl.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/usr-adhoc-incl.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/usr-cmd-output-incl.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/usr-cmd-output-incl.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/usr-input-incl.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/custom-snippets/usr-input-incl.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/system-prompts/codebase-explorer.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/system-prompts/codebase-explorer.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/system-prompts/default_multi-file-action-generator-with-requester.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/system-prompts/default_multi-file-action-generator-with-requester.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/system-prompts/packup.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/system-prompts/packup.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/system-prompts/refactor-split.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/data/system-prompts/refactor-split.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/seeding.module.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/seeding.module.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/seeding.service.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/seeding.service.js +0 -0
- /package/backend/dist/{seeding → src/seeding}/system-prompt-seeding.service.d.ts +0 -0
- /package/backend/dist/{seeding → src/seeding}/system-prompt-seeding.service.js +0 -0
- /package/backend/dist/{session-followup → src/session-followup}/session-followup.module.d.ts +0 -0
- /package/backend/dist/{session-followup → src/session-followup}/session-followup.module.js +0 -0
- /package/backend/dist/{session-followup → src/session-followup}/session-followup.service.d.ts +0 -0
- /package/backend/dist/{session-followup → src/session-followup}/session-followup.service.js +0 -0
- /package/backend/dist/{session-inputs → src/session-inputs}/dto/session-input.dto.d.ts +0 -0
- /package/backend/dist/{session-inputs → src/session-inputs}/dto/session-input.dto.js +0 -0
- /package/backend/dist/{session-inputs → src/session-inputs}/session-inputs.controller.d.ts +0 -0
- /package/backend/dist/{session-inputs → src/session-inputs}/session-inputs.controller.js +0 -0
- /package/backend/dist/{session-inputs → src/session-inputs}/session-inputs.module.d.ts +0 -0
- /package/backend/dist/{session-transfer → src/session-transfer}/session-transfer.module.d.ts +0 -0
- /package/backend/dist/{session-transfer → src/session-transfer}/session-transfer.module.js +0 -0
- /package/backend/dist/{session-transfer → src/session-transfer}/session-transfer.service.d.ts +0 -0
- /package/backend/dist/{session-transfer → src/session-transfer}/session-transfer.service.js +0 -0
- /package/backend/dist/{sessions → src/sessions}/dto/session.dto.d.ts +0 -0
- /package/backend/dist/{sessions → src/sessions}/dto/session.dto.js +0 -0
- /package/backend/dist/{sessions → src/sessions}/sessions.controller.d.ts +0 -0
- /package/backend/dist/{sessions → src/sessions}/sessions.controller.js +0 -0
- /package/backend/dist/{sessions → src/sessions}/sessions.module.d.ts +0 -0
- /package/backend/dist/{sessions → src/sessions}/sessions.module.js +0 -0
- /package/backend/dist/{sessions → src/sessions}/sessions.service.d.ts +0 -0
- /package/backend/dist/{sessions → src/sessions}/sessions.service.js +0 -0
- /package/backend/dist/{system-prompts → src/system-prompts}/dto/system-prompt.dto.d.ts +0 -0
- /package/backend/dist/{system-prompts → src/system-prompts}/dto/system-prompt.dto.js +0 -0
- /package/backend/dist/{system-prompts → src/system-prompts}/system-prompts.controller.d.ts +0 -0
- /package/backend/dist/{system-prompts → src/system-prompts}/system-prompts.controller.js +0 -0
- /package/backend/dist/{system-prompts → src/system-prompts}/system-prompts.module.d.ts +0 -0
- /package/backend/dist/{system-prompts → src/system-prompts}/system-prompts.module.js +0 -0
- /package/backend/dist/{system-prompts → src/system-prompts}/system-prompts.service.d.ts +0 -0
- /package/backend/dist/{system-prompts → src/system-prompts}/system-prompts.service.js +0 -0
- /package/backend/dist/{timeout.interceptor.d.ts → src/timeout.interceptor.d.ts} +0 -0
- /package/backend/dist/{tracing.d.ts → src/tracing.d.ts} +0 -0
- /package/backend/dist/{tracing.js → src/tracing.js} +0 -0
- /package/backend/dist/{utils → src/utils}/fuzzy-search.d.ts +0 -0
- /package/backend/dist/{utils → src/utils}/fuzzy-search.js +0 -0
- /package/backend/dist/{utils → src/utils}/index.d.ts +0 -0
- /package/backend/dist/{utils → src/utils}/index.js +0 -0
- /package/backend/dist/{utils → src/utils}/trace.decorator.d.ts +0 -0
- /package/backend/dist/{utils → src/utils}/trace.decorator.js +0 -0
- /package/backend/dist/{workspace → src/workspace}/dto/file-tree.dto.d.ts +0 -0
- /package/backend/dist/{workspace → src/workspace}/dto/file-tree.dto.js +0 -0
- /package/backend/dist/{workspace → src/workspace}/dto/search-workspace.dto.d.ts +0 -0
- /package/backend/dist/{workspace → src/workspace}/dto/search-workspace.dto.js +0 -0
- /package/backend/dist/{workspace → src/workspace}/workspace.controller.d.ts +0 -0
- /package/backend/dist/{workspace → src/workspace}/workspace.controller.js +0 -0
- /package/backend/dist/{workspace → src/workspace}/workspace.module.d.ts +0 -0
- /package/backend/dist/{workspace → src/workspace}/workspace.module.js +0 -0
- /package/backend/dist/{workspace → src/workspace}/workspace.service.d.ts +0 -0
- /package/backend/dist/{workspace → src/workspace}/workspace.service.js +0 -0
|
@@ -0,0 +1,1206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Mocha test wrapper
|
|
3
|
+
* @author Ilya Volodin
|
|
4
|
+
*/
|
|
5
|
+
"use strict";
|
|
6
|
+
|
|
7
|
+
/* globals describe, it -- Mocha globals */
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
* This is a wrapper around mocha to allow for DRY unittests for eslint
|
|
11
|
+
* Format:
|
|
12
|
+
* RuleTester.run("{ruleName}", {
|
|
13
|
+
* valid: [
|
|
14
|
+
* "{code}",
|
|
15
|
+
* { code: "{code}", options: {options}, globals: {globals}, parser: "{parser}", settings: {settings} }
|
|
16
|
+
* ],
|
|
17
|
+
* invalid: [
|
|
18
|
+
* { code: "{code}", errors: {numErrors} },
|
|
19
|
+
* { code: "{code}", errors: ["{errorMessage}"] },
|
|
20
|
+
* { code: "{code}", options: {options}, globals: {globals}, parser: "{parser}", settings: {settings}, errors: [{ message: "{errorMessage}", type: "{errorNodeType}"}] }
|
|
21
|
+
* ]
|
|
22
|
+
* });
|
|
23
|
+
*
|
|
24
|
+
* Variables:
|
|
25
|
+
* {code} - String that represents the code to be tested
|
|
26
|
+
* {options} - Arguments that are passed to the configurable rules.
|
|
27
|
+
* {globals} - An object representing a list of variables that are
|
|
28
|
+
* registered as globals
|
|
29
|
+
* {parser} - String representing the parser to use
|
|
30
|
+
* {settings} - An object representing global settings for all rules
|
|
31
|
+
* {numErrors} - If failing case doesn't need to check error message,
|
|
32
|
+
* this integer will specify how many errors should be
|
|
33
|
+
* received
|
|
34
|
+
* {errorMessage} - Message that is returned by the rule on failure
|
|
35
|
+
* {errorNodeType} - AST node type that is returned by they rule as
|
|
36
|
+
* a cause of the failure.
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
//------------------------------------------------------------------------------
|
|
40
|
+
// Requirements
|
|
41
|
+
//------------------------------------------------------------------------------
|
|
42
|
+
|
|
43
|
+
const
|
|
44
|
+
assert = require("assert"),
|
|
45
|
+
path = require("path"),
|
|
46
|
+
util = require("util"),
|
|
47
|
+
merge = require("lodash.merge"),
|
|
48
|
+
equal = require("fast-deep-equal"),
|
|
49
|
+
Traverser = require("../../lib/shared/traverser"),
|
|
50
|
+
{ getRuleOptionsSchema, validate } = require("../shared/config-validator"),
|
|
51
|
+
{ Linter, SourceCodeFixer, interpolate } = require("../linter"),
|
|
52
|
+
CodePath = require("../linter/code-path-analysis/code-path");
|
|
53
|
+
|
|
54
|
+
const ajv = require("../shared/ajv")({ strictDefaults: true });
|
|
55
|
+
|
|
56
|
+
const espreePath = require.resolve("espree");
|
|
57
|
+
const parserSymbol = Symbol.for("eslint.RuleTester.parser");
|
|
58
|
+
|
|
59
|
+
const { SourceCode } = require("../source-code");
|
|
60
|
+
|
|
61
|
+
//------------------------------------------------------------------------------
|
|
62
|
+
// Typedefs
|
|
63
|
+
//------------------------------------------------------------------------------
|
|
64
|
+
|
|
65
|
+
/** @typedef {import("../shared/types").Parser} Parser */
|
|
66
|
+
/** @typedef {import("../shared/types").Rule} Rule */
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* A test case that is expected to pass lint.
|
|
71
|
+
* @typedef {Object} ValidTestCase
|
|
72
|
+
* @property {string} [name] Name for the test case.
|
|
73
|
+
* @property {string} code Code for the test case.
|
|
74
|
+
* @property {any[]} [options] Options for the test case.
|
|
75
|
+
* @property {{ [name: string]: any }} [settings] Settings for the test case.
|
|
76
|
+
* @property {string} [filename] The fake filename for the test case. Useful for rules that make assertion about filenames.
|
|
77
|
+
* @property {string} [parser] The absolute path for the parser.
|
|
78
|
+
* @property {{ [name: string]: any }} [parserOptions] Options for the parser.
|
|
79
|
+
* @property {{ [name: string]: "readonly" | "writable" | "off" }} [globals] The additional global variables.
|
|
80
|
+
* @property {{ [name: string]: boolean }} [env] Environments for the test case.
|
|
81
|
+
* @property {boolean} [only] Run only this test case or the subset of test cases with this property.
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* A test case that is expected to fail lint.
|
|
86
|
+
* @typedef {Object} InvalidTestCase
|
|
87
|
+
* @property {string} [name] Name for the test case.
|
|
88
|
+
* @property {string} code Code for the test case.
|
|
89
|
+
* @property {number | Array<TestCaseError | string | RegExp>} errors Expected errors.
|
|
90
|
+
* @property {string | null} [output] The expected code after autofixes are applied. If set to `null`, the test runner will assert that no autofix is suggested.
|
|
91
|
+
* @property {any[]} [options] Options for the test case.
|
|
92
|
+
* @property {{ [name: string]: any }} [settings] Settings for the test case.
|
|
93
|
+
* @property {string} [filename] The fake filename for the test case. Useful for rules that make assertion about filenames.
|
|
94
|
+
* @property {string} [parser] The absolute path for the parser.
|
|
95
|
+
* @property {{ [name: string]: any }} [parserOptions] Options for the parser.
|
|
96
|
+
* @property {{ [name: string]: "readonly" | "writable" | "off" }} [globals] The additional global variables.
|
|
97
|
+
* @property {{ [name: string]: boolean }} [env] Environments for the test case.
|
|
98
|
+
* @property {boolean} [only] Run only this test case or the subset of test cases with this property.
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* A description of a reported error used in a rule tester test.
|
|
103
|
+
* @typedef {Object} TestCaseError
|
|
104
|
+
* @property {string | RegExp} [message] Message.
|
|
105
|
+
* @property {string} [messageId] Message ID.
|
|
106
|
+
* @property {string} [type] The type of the reported AST node.
|
|
107
|
+
* @property {{ [name: string]: string }} [data] The data used to fill the message template.
|
|
108
|
+
* @property {number} [line] The 1-based line number of the reported start location.
|
|
109
|
+
* @property {number} [column] The 1-based column number of the reported start location.
|
|
110
|
+
* @property {number} [endLine] The 1-based line number of the reported end location.
|
|
111
|
+
* @property {number} [endColumn] The 1-based column number of the reported end location.
|
|
112
|
+
*/
|
|
113
|
+
|
|
114
|
+
//------------------------------------------------------------------------------
|
|
115
|
+
// Private Members
|
|
116
|
+
//------------------------------------------------------------------------------
|
|
117
|
+
|
|
118
|
+
/*
|
|
119
|
+
* testerDefaultConfig must not be modified as it allows to reset the tester to
|
|
120
|
+
* the initial default configuration
|
|
121
|
+
*/
|
|
122
|
+
const testerDefaultConfig = { rules: {} };
|
|
123
|
+
let defaultConfig = { rules: {} };
|
|
124
|
+
|
|
125
|
+
/*
|
|
126
|
+
* List every parameters possible on a test case that are not related to eslint
|
|
127
|
+
* configuration
|
|
128
|
+
*/
|
|
129
|
+
const RuleTesterParameters = [
|
|
130
|
+
"name",
|
|
131
|
+
"code",
|
|
132
|
+
"filename",
|
|
133
|
+
"options",
|
|
134
|
+
"errors",
|
|
135
|
+
"output",
|
|
136
|
+
"only"
|
|
137
|
+
];
|
|
138
|
+
|
|
139
|
+
/*
|
|
140
|
+
* All allowed property names in error objects.
|
|
141
|
+
*/
|
|
142
|
+
const errorObjectParameters = new Set([
|
|
143
|
+
"message",
|
|
144
|
+
"messageId",
|
|
145
|
+
"data",
|
|
146
|
+
"type",
|
|
147
|
+
"line",
|
|
148
|
+
"column",
|
|
149
|
+
"endLine",
|
|
150
|
+
"endColumn",
|
|
151
|
+
"suggestions"
|
|
152
|
+
]);
|
|
153
|
+
const friendlyErrorObjectParameterList = `[${[...errorObjectParameters].map(key => `'${key}'`).join(", ")}]`;
|
|
154
|
+
|
|
155
|
+
/*
|
|
156
|
+
* All allowed property names in suggestion objects.
|
|
157
|
+
*/
|
|
158
|
+
const suggestionObjectParameters = new Set([
|
|
159
|
+
"desc",
|
|
160
|
+
"messageId",
|
|
161
|
+
"data",
|
|
162
|
+
"output"
|
|
163
|
+
]);
|
|
164
|
+
const friendlySuggestionObjectParameterList = `[${[...suggestionObjectParameters].map(key => `'${key}'`).join(", ")}]`;
|
|
165
|
+
|
|
166
|
+
const forbiddenMethods = [
|
|
167
|
+
"applyInlineConfig",
|
|
168
|
+
"applyLanguageOptions",
|
|
169
|
+
"finalize"
|
|
170
|
+
];
|
|
171
|
+
|
|
172
|
+
const hasOwnProperty = Function.call.bind(Object.hasOwnProperty);
|
|
173
|
+
|
|
174
|
+
const DEPRECATED_SOURCECODE_PASSTHROUGHS = {
|
|
175
|
+
getSource: "getText",
|
|
176
|
+
getSourceLines: "getLines",
|
|
177
|
+
getAllComments: "getAllComments",
|
|
178
|
+
getNodeByRangeIndex: "getNodeByRangeIndex",
|
|
179
|
+
|
|
180
|
+
// getComments: "getComments", -- already handled by a separate error
|
|
181
|
+
getCommentsBefore: "getCommentsBefore",
|
|
182
|
+
getCommentsAfter: "getCommentsAfter",
|
|
183
|
+
getCommentsInside: "getCommentsInside",
|
|
184
|
+
getJSDocComment: "getJSDocComment",
|
|
185
|
+
getFirstToken: "getFirstToken",
|
|
186
|
+
getFirstTokens: "getFirstTokens",
|
|
187
|
+
getLastToken: "getLastToken",
|
|
188
|
+
getLastTokens: "getLastTokens",
|
|
189
|
+
getTokenAfter: "getTokenAfter",
|
|
190
|
+
getTokenBefore: "getTokenBefore",
|
|
191
|
+
getTokenByRangeStart: "getTokenByRangeStart",
|
|
192
|
+
getTokens: "getTokens",
|
|
193
|
+
getTokensAfter: "getTokensAfter",
|
|
194
|
+
getTokensBefore: "getTokensBefore",
|
|
195
|
+
getTokensBetween: "getTokensBetween",
|
|
196
|
+
|
|
197
|
+
getScope: "getScope",
|
|
198
|
+
getAncestors: "getAncestors",
|
|
199
|
+
getDeclaredVariables: "getDeclaredVariables",
|
|
200
|
+
markVariableAsUsed: "markVariableAsUsed"
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Clones a given value deeply.
|
|
205
|
+
* Note: This ignores `parent` property.
|
|
206
|
+
* @param {any} x A value to clone.
|
|
207
|
+
* @returns {any} A cloned value.
|
|
208
|
+
*/
|
|
209
|
+
function cloneDeeplyExcludesParent(x) {
|
|
210
|
+
if (typeof x === "object" && x !== null) {
|
|
211
|
+
if (Array.isArray(x)) {
|
|
212
|
+
return x.map(cloneDeeplyExcludesParent);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const retv = {};
|
|
216
|
+
|
|
217
|
+
for (const key in x) {
|
|
218
|
+
if (key !== "parent" && hasOwnProperty(x, key)) {
|
|
219
|
+
retv[key] = cloneDeeplyExcludesParent(x[key]);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
return retv;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
return x;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Freezes a given value deeply.
|
|
231
|
+
* @param {any} x A value to freeze.
|
|
232
|
+
* @returns {void}
|
|
233
|
+
*/
|
|
234
|
+
function freezeDeeply(x) {
|
|
235
|
+
if (typeof x === "object" && x !== null) {
|
|
236
|
+
if (Array.isArray(x)) {
|
|
237
|
+
x.forEach(freezeDeeply);
|
|
238
|
+
} else {
|
|
239
|
+
for (const key in x) {
|
|
240
|
+
if (key !== "parent" && hasOwnProperty(x, key)) {
|
|
241
|
+
freezeDeeply(x[key]);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
Object.freeze(x);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Replace control characters by `\u00xx` form.
|
|
251
|
+
* @param {string} text The text to sanitize.
|
|
252
|
+
* @returns {string} The sanitized text.
|
|
253
|
+
*/
|
|
254
|
+
function sanitize(text) {
|
|
255
|
+
if (typeof text !== "string") {
|
|
256
|
+
return "";
|
|
257
|
+
}
|
|
258
|
+
return text.replace(
|
|
259
|
+
/[\u0000-\u0009\u000b-\u001a]/gu, // eslint-disable-line no-control-regex -- Escaping controls
|
|
260
|
+
c => `\\u${c.codePointAt(0).toString(16).padStart(4, "0")}`
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Define `start`/`end` properties as throwing error.
|
|
266
|
+
* @param {string} objName Object name used for error messages.
|
|
267
|
+
* @param {ASTNode} node The node to define.
|
|
268
|
+
* @returns {void}
|
|
269
|
+
*/
|
|
270
|
+
function defineStartEndAsError(objName, node) {
|
|
271
|
+
Object.defineProperties(node, {
|
|
272
|
+
start: {
|
|
273
|
+
get() {
|
|
274
|
+
throw new Error(`Use ${objName}.range[0] instead of ${objName}.start`);
|
|
275
|
+
},
|
|
276
|
+
configurable: true,
|
|
277
|
+
enumerable: false
|
|
278
|
+
},
|
|
279
|
+
end: {
|
|
280
|
+
get() {
|
|
281
|
+
throw new Error(`Use ${objName}.range[1] instead of ${objName}.end`);
|
|
282
|
+
},
|
|
283
|
+
configurable: true,
|
|
284
|
+
enumerable: false
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Define `start`/`end` properties of all nodes of the given AST as throwing error.
|
|
292
|
+
* @param {ASTNode} ast The root node to errorize `start`/`end` properties.
|
|
293
|
+
* @param {Object} [visitorKeys] Visitor keys to be used for traversing the given ast.
|
|
294
|
+
* @returns {void}
|
|
295
|
+
*/
|
|
296
|
+
function defineStartEndAsErrorInTree(ast, visitorKeys) {
|
|
297
|
+
Traverser.traverse(ast, { visitorKeys, enter: defineStartEndAsError.bind(null, "node") });
|
|
298
|
+
ast.tokens.forEach(defineStartEndAsError.bind(null, "token"));
|
|
299
|
+
ast.comments.forEach(defineStartEndAsError.bind(null, "token"));
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Wraps the given parser in order to intercept and modify return values from the `parse` and `parseForESLint` methods, for test purposes.
|
|
304
|
+
* In particular, to modify ast nodes, tokens and comments to throw on access to their `start` and `end` properties.
|
|
305
|
+
* @param {Parser} parser Parser object.
|
|
306
|
+
* @returns {Parser} Wrapped parser object.
|
|
307
|
+
*/
|
|
308
|
+
function wrapParser(parser) {
|
|
309
|
+
|
|
310
|
+
if (typeof parser.parseForESLint === "function") {
|
|
311
|
+
return {
|
|
312
|
+
[parserSymbol]: parser,
|
|
313
|
+
parseForESLint(...args) {
|
|
314
|
+
const ret = parser.parseForESLint(...args);
|
|
315
|
+
|
|
316
|
+
defineStartEndAsErrorInTree(ret.ast, ret.visitorKeys);
|
|
317
|
+
return ret;
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
return {
|
|
323
|
+
[parserSymbol]: parser,
|
|
324
|
+
parse(...args) {
|
|
325
|
+
const ast = parser.parse(...args);
|
|
326
|
+
|
|
327
|
+
defineStartEndAsErrorInTree(ast);
|
|
328
|
+
return ast;
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Function to replace `SourceCode.prototype.getComments`.
|
|
335
|
+
* @returns {void}
|
|
336
|
+
* @throws {Error} Deprecation message.
|
|
337
|
+
*/
|
|
338
|
+
function getCommentsDeprecation() {
|
|
339
|
+
throw new Error(
|
|
340
|
+
"`SourceCode#getComments()` is deprecated and will be removed in a future major version. Use `getCommentsBefore()`, `getCommentsAfter()`, and `getCommentsInside()` instead."
|
|
341
|
+
);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Function to replace forbidden `SourceCode` methods.
|
|
346
|
+
* @param {string} methodName The name of the method to forbid.
|
|
347
|
+
* @returns {Function} The function that throws the error.
|
|
348
|
+
*/
|
|
349
|
+
function throwForbiddenMethodError(methodName) {
|
|
350
|
+
return () => {
|
|
351
|
+
throw new Error(
|
|
352
|
+
`\`SourceCode#${methodName}()\` cannot be called inside a rule.`
|
|
353
|
+
);
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Emit a deprecation warning if function-style format is being used.
|
|
359
|
+
* @param {string} ruleName Name of the rule.
|
|
360
|
+
* @returns {void}
|
|
361
|
+
*/
|
|
362
|
+
function emitLegacyRuleAPIWarning(ruleName) {
|
|
363
|
+
if (!emitLegacyRuleAPIWarning[`warned-${ruleName}`]) {
|
|
364
|
+
emitLegacyRuleAPIWarning[`warned-${ruleName}`] = true;
|
|
365
|
+
process.emitWarning(
|
|
366
|
+
`"${ruleName}" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/latest/extend/custom-rules`,
|
|
367
|
+
"DeprecationWarning"
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Emit a deprecation warning if rule has options but is missing the "meta.schema" property
|
|
374
|
+
* @param {string} ruleName Name of the rule.
|
|
375
|
+
* @returns {void}
|
|
376
|
+
*/
|
|
377
|
+
function emitMissingSchemaWarning(ruleName) {
|
|
378
|
+
if (!emitMissingSchemaWarning[`warned-${ruleName}`]) {
|
|
379
|
+
emitMissingSchemaWarning[`warned-${ruleName}`] = true;
|
|
380
|
+
process.emitWarning(
|
|
381
|
+
`"${ruleName}" rule has options but is missing the "meta.schema" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/latest/extend/custom-rules#options-schemas`,
|
|
382
|
+
"DeprecationWarning"
|
|
383
|
+
);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Emit a deprecation warning if a rule uses a deprecated `context` method.
|
|
389
|
+
* @param {string} ruleName Name of the rule.
|
|
390
|
+
* @param {string} methodName The name of the method on `context` that was used.
|
|
391
|
+
* @returns {void}
|
|
392
|
+
*/
|
|
393
|
+
function emitDeprecatedContextMethodWarning(ruleName, methodName) {
|
|
394
|
+
if (!emitDeprecatedContextMethodWarning[`warned-${ruleName}-${methodName}`]) {
|
|
395
|
+
emitDeprecatedContextMethodWarning[`warned-${ruleName}-${methodName}`] = true;
|
|
396
|
+
process.emitWarning(
|
|
397
|
+
`"${ruleName}" rule is using \`context.${methodName}()\`, which is deprecated and will be removed in ESLint v9. Please use \`sourceCode.${DEPRECATED_SOURCECODE_PASSTHROUGHS[methodName]}()\` instead.`,
|
|
398
|
+
"DeprecationWarning"
|
|
399
|
+
);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Emit a deprecation warning if rule uses CodePath#currentSegments.
|
|
405
|
+
* @param {string} ruleName Name of the rule.
|
|
406
|
+
* @returns {void}
|
|
407
|
+
*/
|
|
408
|
+
function emitCodePathCurrentSegmentsWarning(ruleName) {
|
|
409
|
+
if (!emitCodePathCurrentSegmentsWarning[`warned-${ruleName}`]) {
|
|
410
|
+
emitCodePathCurrentSegmentsWarning[`warned-${ruleName}`] = true;
|
|
411
|
+
process.emitWarning(
|
|
412
|
+
`"${ruleName}" rule uses CodePath#currentSegments and will stop working in ESLint v9. Please read the documentation for how to update your code: https://eslint.org/docs/latest/extend/code-path-analysis#usage-examples`,
|
|
413
|
+
"DeprecationWarning"
|
|
414
|
+
);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Emit a deprecation warning if `context.parserServices` is used.
|
|
420
|
+
* @param {string} ruleName Name of the rule.
|
|
421
|
+
* @returns {void}
|
|
422
|
+
*/
|
|
423
|
+
function emitParserServicesWarning(ruleName) {
|
|
424
|
+
if (!emitParserServicesWarning[`warned-${ruleName}`]) {
|
|
425
|
+
emitParserServicesWarning[`warned-${ruleName}`] = true;
|
|
426
|
+
process.emitWarning(
|
|
427
|
+
`"${ruleName}" rule is using \`context.parserServices\`, which is deprecated and will be removed in ESLint v9. Please use \`sourceCode.parserServices\` instead.`,
|
|
428
|
+
"DeprecationWarning"
|
|
429
|
+
);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
//------------------------------------------------------------------------------
|
|
435
|
+
// Public Interface
|
|
436
|
+
//------------------------------------------------------------------------------
|
|
437
|
+
|
|
438
|
+
// default separators for testing
|
|
439
|
+
const DESCRIBE = Symbol("describe");
|
|
440
|
+
const IT = Symbol("it");
|
|
441
|
+
const IT_ONLY = Symbol("itOnly");
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* This is `it` default handler if `it` don't exist.
|
|
445
|
+
* @this {Mocha}
|
|
446
|
+
* @param {string} text The description of the test case.
|
|
447
|
+
* @param {Function} method The logic of the test case.
|
|
448
|
+
* @throws {Error} Any error upon execution of `method`.
|
|
449
|
+
* @returns {any} Returned value of `method`.
|
|
450
|
+
*/
|
|
451
|
+
function itDefaultHandler(text, method) {
|
|
452
|
+
try {
|
|
453
|
+
return method.call(this);
|
|
454
|
+
} catch (err) {
|
|
455
|
+
if (err instanceof assert.AssertionError) {
|
|
456
|
+
err.message += ` (${util.inspect(err.actual)} ${err.operator} ${util.inspect(err.expected)})`;
|
|
457
|
+
}
|
|
458
|
+
throw err;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* This is `describe` default handler if `describe` don't exist.
|
|
464
|
+
* @this {Mocha}
|
|
465
|
+
* @param {string} text The description of the test case.
|
|
466
|
+
* @param {Function} method The logic of the test case.
|
|
467
|
+
* @returns {any} Returned value of `method`.
|
|
468
|
+
*/
|
|
469
|
+
function describeDefaultHandler(text, method) {
|
|
470
|
+
return method.call(this);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Mocha test wrapper.
|
|
475
|
+
*/
|
|
476
|
+
class RuleTester {
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Creates a new instance of RuleTester.
|
|
480
|
+
* @param {Object} [testerConfig] Optional, extra configuration for the tester
|
|
481
|
+
*/
|
|
482
|
+
constructor(testerConfig) {
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* The configuration to use for this tester. Combination of the tester
|
|
486
|
+
* configuration and the default configuration.
|
|
487
|
+
* @type {Object}
|
|
488
|
+
*/
|
|
489
|
+
this.testerConfig = merge(
|
|
490
|
+
{},
|
|
491
|
+
defaultConfig,
|
|
492
|
+
testerConfig,
|
|
493
|
+
{ rules: { "rule-tester/validate-ast": "error" } }
|
|
494
|
+
);
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Rule definitions to define before tests.
|
|
498
|
+
* @type {Object}
|
|
499
|
+
*/
|
|
500
|
+
this.rules = {};
|
|
501
|
+
this.linter = new Linter();
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Set the configuration to use for all future tests
|
|
506
|
+
* @param {Object} config the configuration to use.
|
|
507
|
+
* @throws {TypeError} If non-object config.
|
|
508
|
+
* @returns {void}
|
|
509
|
+
*/
|
|
510
|
+
static setDefaultConfig(config) {
|
|
511
|
+
if (typeof config !== "object" || config === null) {
|
|
512
|
+
throw new TypeError("RuleTester.setDefaultConfig: config must be an object");
|
|
513
|
+
}
|
|
514
|
+
defaultConfig = config;
|
|
515
|
+
|
|
516
|
+
// Make sure the rules object exists since it is assumed to exist later
|
|
517
|
+
defaultConfig.rules = defaultConfig.rules || {};
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Get the current configuration used for all tests
|
|
522
|
+
* @returns {Object} the current configuration
|
|
523
|
+
*/
|
|
524
|
+
static getDefaultConfig() {
|
|
525
|
+
return defaultConfig;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Reset the configuration to the initial configuration of the tester removing
|
|
530
|
+
* any changes made until now.
|
|
531
|
+
* @returns {void}
|
|
532
|
+
*/
|
|
533
|
+
static resetDefaultConfig() {
|
|
534
|
+
defaultConfig = merge({}, testerDefaultConfig);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
/*
|
|
539
|
+
* If people use `mocha test.js --watch` command, `describe` and `it` function
|
|
540
|
+
* instances are different for each execution. So `describe` and `it` should get fresh instance
|
|
541
|
+
* always.
|
|
542
|
+
*/
|
|
543
|
+
static get describe() {
|
|
544
|
+
return (
|
|
545
|
+
this[DESCRIBE] ||
|
|
546
|
+
(typeof describe === "function" ? describe : describeDefaultHandler)
|
|
547
|
+
);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
static set describe(value) {
|
|
551
|
+
this[DESCRIBE] = value;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
static get it() {
|
|
555
|
+
return (
|
|
556
|
+
this[IT] ||
|
|
557
|
+
(typeof it === "function" ? it : itDefaultHandler)
|
|
558
|
+
);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
static set it(value) {
|
|
562
|
+
this[IT] = value;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Adds the `only` property to a test to run it in isolation.
|
|
567
|
+
* @param {string | ValidTestCase | InvalidTestCase} item A single test to run by itself.
|
|
568
|
+
* @returns {ValidTestCase | InvalidTestCase} The test with `only` set.
|
|
569
|
+
*/
|
|
570
|
+
static only(item) {
|
|
571
|
+
if (typeof item === "string") {
|
|
572
|
+
return { code: item, only: true };
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
return { ...item, only: true };
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
static get itOnly() {
|
|
579
|
+
if (typeof this[IT_ONLY] === "function") {
|
|
580
|
+
return this[IT_ONLY];
|
|
581
|
+
}
|
|
582
|
+
if (typeof this[IT] === "function" && typeof this[IT].only === "function") {
|
|
583
|
+
return Function.bind.call(this[IT].only, this[IT]);
|
|
584
|
+
}
|
|
585
|
+
if (typeof it === "function" && typeof it.only === "function") {
|
|
586
|
+
return Function.bind.call(it.only, it);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
if (typeof this[DESCRIBE] === "function" || typeof this[IT] === "function") {
|
|
590
|
+
throw new Error(
|
|
591
|
+
"Set `RuleTester.itOnly` to use `only` with a custom test framework.\n" +
|
|
592
|
+
"See https://eslint.org/docs/latest/integrate/nodejs-api#customizing-ruletester for more."
|
|
593
|
+
);
|
|
594
|
+
}
|
|
595
|
+
if (typeof it === "function") {
|
|
596
|
+
throw new Error("The current test framework does not support exclusive tests with `only`.");
|
|
597
|
+
}
|
|
598
|
+
throw new Error("To use `only`, use RuleTester with a test framework that provides `it.only()` like Mocha.");
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
static set itOnly(value) {
|
|
602
|
+
this[IT_ONLY] = value;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Define a rule for one particular run of tests.
|
|
607
|
+
* @param {string} name The name of the rule to define.
|
|
608
|
+
* @param {Function | Rule} rule The rule definition.
|
|
609
|
+
* @returns {void}
|
|
610
|
+
*/
|
|
611
|
+
defineRule(name, rule) {
|
|
612
|
+
if (typeof rule === "function") {
|
|
613
|
+
emitLegacyRuleAPIWarning(name);
|
|
614
|
+
}
|
|
615
|
+
this.rules[name] = rule;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Adds a new rule test to execute.
|
|
620
|
+
* @param {string} ruleName The name of the rule to run.
|
|
621
|
+
* @param {Function | Rule} rule The rule to test.
|
|
622
|
+
* @param {{
|
|
623
|
+
* valid: (ValidTestCase | string)[],
|
|
624
|
+
* invalid: InvalidTestCase[]
|
|
625
|
+
* }} test The collection of tests to run.
|
|
626
|
+
* @throws {TypeError|Error} If non-object `test`, or if a required
|
|
627
|
+
* scenario of the given type is missing.
|
|
628
|
+
* @returns {void}
|
|
629
|
+
*/
|
|
630
|
+
run(ruleName, rule, test) {
|
|
631
|
+
|
|
632
|
+
const testerConfig = this.testerConfig,
|
|
633
|
+
requiredScenarios = ["valid", "invalid"],
|
|
634
|
+
scenarioErrors = [],
|
|
635
|
+
linter = this.linter;
|
|
636
|
+
|
|
637
|
+
if (!test || typeof test !== "object") {
|
|
638
|
+
throw new TypeError(`Test Scenarios for rule ${ruleName} : Could not find test scenario object`);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
requiredScenarios.forEach(scenarioType => {
|
|
642
|
+
if (!test[scenarioType]) {
|
|
643
|
+
scenarioErrors.push(`Could not find any ${scenarioType} test scenarios`);
|
|
644
|
+
}
|
|
645
|
+
});
|
|
646
|
+
|
|
647
|
+
if (scenarioErrors.length > 0) {
|
|
648
|
+
throw new Error([
|
|
649
|
+
`Test Scenarios for rule ${ruleName} is invalid:`
|
|
650
|
+
].concat(scenarioErrors).join("\n"));
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
if (typeof rule === "function") {
|
|
654
|
+
emitLegacyRuleAPIWarning(ruleName);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
linter.defineRule(ruleName, Object.assign({}, rule, {
|
|
658
|
+
|
|
659
|
+
// Create a wrapper rule that freezes the `context` properties.
|
|
660
|
+
create(context) {
|
|
661
|
+
freezeDeeply(context.options);
|
|
662
|
+
freezeDeeply(context.settings);
|
|
663
|
+
freezeDeeply(context.parserOptions);
|
|
664
|
+
|
|
665
|
+
// wrap all deprecated methods
|
|
666
|
+
const newContext = Object.create(
|
|
667
|
+
context,
|
|
668
|
+
Object.fromEntries(Object.keys(DEPRECATED_SOURCECODE_PASSTHROUGHS).map(methodName => [
|
|
669
|
+
methodName,
|
|
670
|
+
{
|
|
671
|
+
value(...args) {
|
|
672
|
+
|
|
673
|
+
// emit deprecation warning
|
|
674
|
+
emitDeprecatedContextMethodWarning(ruleName, methodName);
|
|
675
|
+
|
|
676
|
+
// call the original method
|
|
677
|
+
return context[methodName].call(this, ...args);
|
|
678
|
+
},
|
|
679
|
+
enumerable: true
|
|
680
|
+
}
|
|
681
|
+
]))
|
|
682
|
+
);
|
|
683
|
+
|
|
684
|
+
// emit warning about context.parserServices
|
|
685
|
+
const parserServices = context.parserServices;
|
|
686
|
+
|
|
687
|
+
Object.defineProperty(newContext, "parserServices", {
|
|
688
|
+
get() {
|
|
689
|
+
emitParserServicesWarning(ruleName);
|
|
690
|
+
return parserServices;
|
|
691
|
+
}
|
|
692
|
+
});
|
|
693
|
+
|
|
694
|
+
Object.freeze(newContext);
|
|
695
|
+
|
|
696
|
+
return (typeof rule === "function" ? rule : rule.create)(newContext);
|
|
697
|
+
}
|
|
698
|
+
}));
|
|
699
|
+
|
|
700
|
+
linter.defineRules(this.rules);
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Run the rule for the given item
|
|
704
|
+
* @param {string|Object} item Item to run the rule against
|
|
705
|
+
* @throws {Error} If an invalid schema.
|
|
706
|
+
* @returns {Object} Eslint run result
|
|
707
|
+
* @private
|
|
708
|
+
*/
|
|
709
|
+
function runRuleForItem(item) {
|
|
710
|
+
let config = merge({}, testerConfig),
|
|
711
|
+
code, filename, output, beforeAST, afterAST;
|
|
712
|
+
|
|
713
|
+
if (typeof item === "string") {
|
|
714
|
+
code = item;
|
|
715
|
+
} else {
|
|
716
|
+
code = item.code;
|
|
717
|
+
|
|
718
|
+
/*
|
|
719
|
+
* Assumes everything on the item is a config except for the
|
|
720
|
+
* parameters used by this tester
|
|
721
|
+
*/
|
|
722
|
+
const itemConfig = { ...item };
|
|
723
|
+
|
|
724
|
+
for (const parameter of RuleTesterParameters) {
|
|
725
|
+
delete itemConfig[parameter];
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/*
|
|
729
|
+
* Create the config object from the tester config and this item
|
|
730
|
+
* specific configurations.
|
|
731
|
+
*/
|
|
732
|
+
config = merge(
|
|
733
|
+
config,
|
|
734
|
+
itemConfig
|
|
735
|
+
);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
if (item.filename) {
|
|
739
|
+
filename = item.filename;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
if (hasOwnProperty(item, "options")) {
|
|
743
|
+
assert(Array.isArray(item.options), "options must be an array");
|
|
744
|
+
if (
|
|
745
|
+
item.options.length > 0 &&
|
|
746
|
+
typeof rule === "object" &&
|
|
747
|
+
(
|
|
748
|
+
!rule.meta || (rule.meta && (typeof rule.meta.schema === "undefined" || rule.meta.schema === null))
|
|
749
|
+
)
|
|
750
|
+
) {
|
|
751
|
+
emitMissingSchemaWarning(ruleName);
|
|
752
|
+
}
|
|
753
|
+
config.rules[ruleName] = [1].concat(item.options);
|
|
754
|
+
} else {
|
|
755
|
+
config.rules[ruleName] = 1;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
const schema = getRuleOptionsSchema(rule);
|
|
759
|
+
|
|
760
|
+
/*
|
|
761
|
+
* Setup AST getters.
|
|
762
|
+
* The goal is to check whether or not AST was modified when
|
|
763
|
+
* running the rule under test.
|
|
764
|
+
*/
|
|
765
|
+
linter.defineRule("rule-tester/validate-ast", {
|
|
766
|
+
create() {
|
|
767
|
+
return {
|
|
768
|
+
Program(node) {
|
|
769
|
+
beforeAST = cloneDeeplyExcludesParent(node);
|
|
770
|
+
},
|
|
771
|
+
"Program:exit"(node) {
|
|
772
|
+
afterAST = node;
|
|
773
|
+
}
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
});
|
|
777
|
+
|
|
778
|
+
if (typeof config.parser === "string") {
|
|
779
|
+
assert(path.isAbsolute(config.parser), "Parsers provided as strings to RuleTester must be absolute paths");
|
|
780
|
+
} else {
|
|
781
|
+
config.parser = espreePath;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
linter.defineParser(config.parser, wrapParser(require(config.parser)));
|
|
785
|
+
|
|
786
|
+
if (schema) {
|
|
787
|
+
ajv.validateSchema(schema);
|
|
788
|
+
|
|
789
|
+
if (ajv.errors) {
|
|
790
|
+
const errors = ajv.errors.map(error => {
|
|
791
|
+
const field = error.dataPath[0] === "." ? error.dataPath.slice(1) : error.dataPath;
|
|
792
|
+
|
|
793
|
+
return `\t${field}: ${error.message}`;
|
|
794
|
+
}).join("\n");
|
|
795
|
+
|
|
796
|
+
throw new Error([`Schema for rule ${ruleName} is invalid:`, errors]);
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
/*
|
|
800
|
+
* `ajv.validateSchema` checks for errors in the structure of the schema (by comparing the schema against a "meta-schema"),
|
|
801
|
+
* and it reports those errors individually. However, there are other types of schema errors that only occur when compiling
|
|
802
|
+
* the schema (e.g. using invalid defaults in a schema), and only one of these errors can be reported at a time. As a result,
|
|
803
|
+
* the schema is compiled here separately from checking for `validateSchema` errors.
|
|
804
|
+
*/
|
|
805
|
+
try {
|
|
806
|
+
ajv.compile(schema);
|
|
807
|
+
} catch (err) {
|
|
808
|
+
throw new Error(`Schema for rule ${ruleName} is invalid: ${err.message}`);
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
validate(config, "rule-tester", id => (id === ruleName ? rule : null));
|
|
813
|
+
|
|
814
|
+
// Verify the code.
|
|
815
|
+
const { getComments, applyLanguageOptions, applyInlineConfig, finalize } = SourceCode.prototype;
|
|
816
|
+
const originalCurrentSegments = Object.getOwnPropertyDescriptor(CodePath.prototype, "currentSegments");
|
|
817
|
+
let messages;
|
|
818
|
+
|
|
819
|
+
try {
|
|
820
|
+
SourceCode.prototype.getComments = getCommentsDeprecation;
|
|
821
|
+
Object.defineProperty(CodePath.prototype, "currentSegments", {
|
|
822
|
+
get() {
|
|
823
|
+
emitCodePathCurrentSegmentsWarning(ruleName);
|
|
824
|
+
return originalCurrentSegments.get.call(this);
|
|
825
|
+
}
|
|
826
|
+
});
|
|
827
|
+
|
|
828
|
+
forbiddenMethods.forEach(methodName => {
|
|
829
|
+
SourceCode.prototype[methodName] = throwForbiddenMethodError(methodName);
|
|
830
|
+
});
|
|
831
|
+
|
|
832
|
+
messages = linter.verify(code, config, filename);
|
|
833
|
+
} finally {
|
|
834
|
+
SourceCode.prototype.getComments = getComments;
|
|
835
|
+
Object.defineProperty(CodePath.prototype, "currentSegments", originalCurrentSegments);
|
|
836
|
+
SourceCode.prototype.applyInlineConfig = applyInlineConfig;
|
|
837
|
+
SourceCode.prototype.applyLanguageOptions = applyLanguageOptions;
|
|
838
|
+
SourceCode.prototype.finalize = finalize;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
const fatalErrorMessage = messages.find(m => m.fatal);
|
|
842
|
+
|
|
843
|
+
assert(!fatalErrorMessage, `A fatal parsing error occurred: ${fatalErrorMessage && fatalErrorMessage.message}`);
|
|
844
|
+
|
|
845
|
+
// Verify if autofix makes a syntax error or not.
|
|
846
|
+
if (messages.some(m => m.fix)) {
|
|
847
|
+
output = SourceCodeFixer.applyFixes(code, messages).output;
|
|
848
|
+
const errorMessageInFix = linter.verify(output, config, filename).find(m => m.fatal);
|
|
849
|
+
|
|
850
|
+
assert(!errorMessageInFix, [
|
|
851
|
+
"A fatal parsing error occurred in autofix.",
|
|
852
|
+
`Error: ${errorMessageInFix && errorMessageInFix.message}`,
|
|
853
|
+
"Autofix output:",
|
|
854
|
+
output
|
|
855
|
+
].join("\n"));
|
|
856
|
+
} else {
|
|
857
|
+
output = code;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
return {
|
|
861
|
+
messages,
|
|
862
|
+
output,
|
|
863
|
+
beforeAST,
|
|
864
|
+
afterAST: cloneDeeplyExcludesParent(afterAST)
|
|
865
|
+
};
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Check if the AST was changed
|
|
870
|
+
* @param {ASTNode} beforeAST AST node before running
|
|
871
|
+
* @param {ASTNode} afterAST AST node after running
|
|
872
|
+
* @returns {void}
|
|
873
|
+
* @private
|
|
874
|
+
*/
|
|
875
|
+
function assertASTDidntChange(beforeAST, afterAST) {
|
|
876
|
+
if (!equal(beforeAST, afterAST)) {
|
|
877
|
+
assert.fail("Rule should not modify AST.");
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Check if the template is valid or not
|
|
883
|
+
* all valid cases go through this
|
|
884
|
+
* @param {string|Object} item Item to run the rule against
|
|
885
|
+
* @returns {void}
|
|
886
|
+
* @private
|
|
887
|
+
*/
|
|
888
|
+
function testValidTemplate(item) {
|
|
889
|
+
const code = typeof item === "object" ? item.code : item;
|
|
890
|
+
|
|
891
|
+
assert.ok(typeof code === "string", "Test case must specify a string value for 'code'");
|
|
892
|
+
if (item.name) {
|
|
893
|
+
assert.ok(typeof item.name === "string", "Optional test case property 'name' must be a string");
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
const result = runRuleForItem(item);
|
|
897
|
+
const messages = result.messages;
|
|
898
|
+
|
|
899
|
+
assert.strictEqual(messages.length, 0, util.format("Should have no errors but had %d: %s",
|
|
900
|
+
messages.length,
|
|
901
|
+
util.inspect(messages)));
|
|
902
|
+
|
|
903
|
+
assertASTDidntChange(result.beforeAST, result.afterAST);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Asserts that the message matches its expected value. If the expected
|
|
908
|
+
* value is a regular expression, it is checked against the actual
|
|
909
|
+
* value.
|
|
910
|
+
* @param {string} actual Actual value
|
|
911
|
+
* @param {string|RegExp} expected Expected value
|
|
912
|
+
* @returns {void}
|
|
913
|
+
* @private
|
|
914
|
+
*/
|
|
915
|
+
function assertMessageMatches(actual, expected) {
|
|
916
|
+
if (expected instanceof RegExp) {
|
|
917
|
+
|
|
918
|
+
// assert.js doesn't have a built-in RegExp match function
|
|
919
|
+
assert.ok(
|
|
920
|
+
expected.test(actual),
|
|
921
|
+
`Expected '${actual}' to match ${expected}`
|
|
922
|
+
);
|
|
923
|
+
} else {
|
|
924
|
+
assert.strictEqual(actual, expected);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Check if the template is invalid or not
|
|
930
|
+
* all invalid cases go through this.
|
|
931
|
+
* @param {string|Object} item Item to run the rule against
|
|
932
|
+
* @returns {void}
|
|
933
|
+
* @private
|
|
934
|
+
*/
|
|
935
|
+
function testInvalidTemplate(item) {
|
|
936
|
+
assert.ok(typeof item.code === "string", "Test case must specify a string value for 'code'");
|
|
937
|
+
if (item.name) {
|
|
938
|
+
assert.ok(typeof item.name === "string", "Optional test case property 'name' must be a string");
|
|
939
|
+
}
|
|
940
|
+
assert.ok(item.errors || item.errors === 0,
|
|
941
|
+
`Did not specify errors for an invalid test of ${ruleName}`);
|
|
942
|
+
|
|
943
|
+
if (Array.isArray(item.errors) && item.errors.length === 0) {
|
|
944
|
+
assert.fail("Invalid cases must have at least one error");
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
const ruleHasMetaMessages = hasOwnProperty(rule, "meta") && hasOwnProperty(rule.meta, "messages");
|
|
948
|
+
const friendlyIDList = ruleHasMetaMessages ? `[${Object.keys(rule.meta.messages).map(key => `'${key}'`).join(", ")}]` : null;
|
|
949
|
+
|
|
950
|
+
const result = runRuleForItem(item);
|
|
951
|
+
const messages = result.messages;
|
|
952
|
+
|
|
953
|
+
if (typeof item.errors === "number") {
|
|
954
|
+
|
|
955
|
+
if (item.errors === 0) {
|
|
956
|
+
assert.fail("Invalid cases must have 'error' value greater than 0");
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
assert.strictEqual(messages.length, item.errors, util.format("Should have %d error%s but had %d: %s",
|
|
960
|
+
item.errors,
|
|
961
|
+
item.errors === 1 ? "" : "s",
|
|
962
|
+
messages.length,
|
|
963
|
+
util.inspect(messages)));
|
|
964
|
+
} else {
|
|
965
|
+
assert.strictEqual(
|
|
966
|
+
messages.length, item.errors.length, util.format(
|
|
967
|
+
"Should have %d error%s but had %d: %s",
|
|
968
|
+
item.errors.length,
|
|
969
|
+
item.errors.length === 1 ? "" : "s",
|
|
970
|
+
messages.length,
|
|
971
|
+
util.inspect(messages)
|
|
972
|
+
)
|
|
973
|
+
);
|
|
974
|
+
|
|
975
|
+
const hasMessageOfThisRule = messages.some(m => m.ruleId === ruleName);
|
|
976
|
+
|
|
977
|
+
for (let i = 0, l = item.errors.length; i < l; i++) {
|
|
978
|
+
const error = item.errors[i];
|
|
979
|
+
const message = messages[i];
|
|
980
|
+
|
|
981
|
+
assert(hasMessageOfThisRule, "Error rule name should be the same as the name of the rule being tested");
|
|
982
|
+
|
|
983
|
+
if (typeof error === "string" || error instanceof RegExp) {
|
|
984
|
+
|
|
985
|
+
// Just an error message.
|
|
986
|
+
assertMessageMatches(message.message, error);
|
|
987
|
+
} else if (typeof error === "object" && error !== null) {
|
|
988
|
+
|
|
989
|
+
/*
|
|
990
|
+
* Error object.
|
|
991
|
+
* This may have a message, messageId, data, node type, line, and/or
|
|
992
|
+
* column.
|
|
993
|
+
*/
|
|
994
|
+
|
|
995
|
+
Object.keys(error).forEach(propertyName => {
|
|
996
|
+
assert.ok(
|
|
997
|
+
errorObjectParameters.has(propertyName),
|
|
998
|
+
`Invalid error property name '${propertyName}'. Expected one of ${friendlyErrorObjectParameterList}.`
|
|
999
|
+
);
|
|
1000
|
+
});
|
|
1001
|
+
|
|
1002
|
+
if (hasOwnProperty(error, "message")) {
|
|
1003
|
+
assert.ok(!hasOwnProperty(error, "messageId"), "Error should not specify both 'message' and a 'messageId'.");
|
|
1004
|
+
assert.ok(!hasOwnProperty(error, "data"), "Error should not specify both 'data' and 'message'.");
|
|
1005
|
+
assertMessageMatches(message.message, error.message);
|
|
1006
|
+
} else if (hasOwnProperty(error, "messageId")) {
|
|
1007
|
+
assert.ok(
|
|
1008
|
+
ruleHasMetaMessages,
|
|
1009
|
+
"Error can not use 'messageId' if rule under test doesn't define 'meta.messages'."
|
|
1010
|
+
);
|
|
1011
|
+
if (!hasOwnProperty(rule.meta.messages, error.messageId)) {
|
|
1012
|
+
assert(false, `Invalid messageId '${error.messageId}'. Expected one of ${friendlyIDList}.`);
|
|
1013
|
+
}
|
|
1014
|
+
assert.strictEqual(
|
|
1015
|
+
message.messageId,
|
|
1016
|
+
error.messageId,
|
|
1017
|
+
`messageId '${message.messageId}' does not match expected messageId '${error.messageId}'.`
|
|
1018
|
+
);
|
|
1019
|
+
if (hasOwnProperty(error, "data")) {
|
|
1020
|
+
|
|
1021
|
+
/*
|
|
1022
|
+
* if data was provided, then directly compare the returned message to a synthetic
|
|
1023
|
+
* interpolated message using the same message ID and data provided in the test.
|
|
1024
|
+
* See https://github.com/eslint/eslint/issues/9890 for context.
|
|
1025
|
+
*/
|
|
1026
|
+
const unformattedOriginalMessage = rule.meta.messages[error.messageId];
|
|
1027
|
+
const rehydratedMessage = interpolate(unformattedOriginalMessage, error.data);
|
|
1028
|
+
|
|
1029
|
+
assert.strictEqual(
|
|
1030
|
+
message.message,
|
|
1031
|
+
rehydratedMessage,
|
|
1032
|
+
`Hydrated message "${rehydratedMessage}" does not match "${message.message}"`
|
|
1033
|
+
);
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
assert.ok(
|
|
1038
|
+
hasOwnProperty(error, "data") ? hasOwnProperty(error, "messageId") : true,
|
|
1039
|
+
"Error must specify 'messageId' if 'data' is used."
|
|
1040
|
+
);
|
|
1041
|
+
|
|
1042
|
+
if (error.type) {
|
|
1043
|
+
assert.strictEqual(message.nodeType, error.type, `Error type should be ${error.type}, found ${message.nodeType}`);
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
if (hasOwnProperty(error, "line")) {
|
|
1047
|
+
assert.strictEqual(message.line, error.line, `Error line should be ${error.line}`);
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
if (hasOwnProperty(error, "column")) {
|
|
1051
|
+
assert.strictEqual(message.column, error.column, `Error column should be ${error.column}`);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
if (hasOwnProperty(error, "endLine")) {
|
|
1055
|
+
assert.strictEqual(message.endLine, error.endLine, `Error endLine should be ${error.endLine}`);
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
if (hasOwnProperty(error, "endColumn")) {
|
|
1059
|
+
assert.strictEqual(message.endColumn, error.endColumn, `Error endColumn should be ${error.endColumn}`);
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
if (hasOwnProperty(error, "suggestions")) {
|
|
1063
|
+
|
|
1064
|
+
// Support asserting there are no suggestions
|
|
1065
|
+
if (!error.suggestions || (Array.isArray(error.suggestions) && error.suggestions.length === 0)) {
|
|
1066
|
+
if (Array.isArray(message.suggestions) && message.suggestions.length > 0) {
|
|
1067
|
+
assert.fail(`Error should have no suggestions on error with message: "${message.message}"`);
|
|
1068
|
+
}
|
|
1069
|
+
} else {
|
|
1070
|
+
assert.strictEqual(Array.isArray(message.suggestions), true, `Error should have an array of suggestions. Instead received "${message.suggestions}" on error with message: "${message.message}"`);
|
|
1071
|
+
assert.strictEqual(message.suggestions.length, error.suggestions.length, `Error should have ${error.suggestions.length} suggestions. Instead found ${message.suggestions.length} suggestions`);
|
|
1072
|
+
|
|
1073
|
+
error.suggestions.forEach((expectedSuggestion, index) => {
|
|
1074
|
+
assert.ok(
|
|
1075
|
+
typeof expectedSuggestion === "object" && expectedSuggestion !== null,
|
|
1076
|
+
"Test suggestion in 'suggestions' array must be an object."
|
|
1077
|
+
);
|
|
1078
|
+
Object.keys(expectedSuggestion).forEach(propertyName => {
|
|
1079
|
+
assert.ok(
|
|
1080
|
+
suggestionObjectParameters.has(propertyName),
|
|
1081
|
+
`Invalid suggestion property name '${propertyName}'. Expected one of ${friendlySuggestionObjectParameterList}.`
|
|
1082
|
+
);
|
|
1083
|
+
});
|
|
1084
|
+
|
|
1085
|
+
const actualSuggestion = message.suggestions[index];
|
|
1086
|
+
const suggestionPrefix = `Error Suggestion at index ${index} :`;
|
|
1087
|
+
|
|
1088
|
+
if (hasOwnProperty(expectedSuggestion, "desc")) {
|
|
1089
|
+
assert.ok(
|
|
1090
|
+
!hasOwnProperty(expectedSuggestion, "data"),
|
|
1091
|
+
`${suggestionPrefix} Test should not specify both 'desc' and 'data'.`
|
|
1092
|
+
);
|
|
1093
|
+
assert.strictEqual(
|
|
1094
|
+
actualSuggestion.desc,
|
|
1095
|
+
expectedSuggestion.desc,
|
|
1096
|
+
`${suggestionPrefix} desc should be "${expectedSuggestion.desc}" but got "${actualSuggestion.desc}" instead.`
|
|
1097
|
+
);
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
if (hasOwnProperty(expectedSuggestion, "messageId")) {
|
|
1101
|
+
assert.ok(
|
|
1102
|
+
ruleHasMetaMessages,
|
|
1103
|
+
`${suggestionPrefix} Test can not use 'messageId' if rule under test doesn't define 'meta.messages'.`
|
|
1104
|
+
);
|
|
1105
|
+
assert.ok(
|
|
1106
|
+
hasOwnProperty(rule.meta.messages, expectedSuggestion.messageId),
|
|
1107
|
+
`${suggestionPrefix} Test has invalid messageId '${expectedSuggestion.messageId}', the rule under test allows only one of ${friendlyIDList}.`
|
|
1108
|
+
);
|
|
1109
|
+
assert.strictEqual(
|
|
1110
|
+
actualSuggestion.messageId,
|
|
1111
|
+
expectedSuggestion.messageId,
|
|
1112
|
+
`${suggestionPrefix} messageId should be '${expectedSuggestion.messageId}' but got '${actualSuggestion.messageId}' instead.`
|
|
1113
|
+
);
|
|
1114
|
+
if (hasOwnProperty(expectedSuggestion, "data")) {
|
|
1115
|
+
const unformattedMetaMessage = rule.meta.messages[expectedSuggestion.messageId];
|
|
1116
|
+
const rehydratedDesc = interpolate(unformattedMetaMessage, expectedSuggestion.data);
|
|
1117
|
+
|
|
1118
|
+
assert.strictEqual(
|
|
1119
|
+
actualSuggestion.desc,
|
|
1120
|
+
rehydratedDesc,
|
|
1121
|
+
`${suggestionPrefix} Hydrated test desc "${rehydratedDesc}" does not match received desc "${actualSuggestion.desc}".`
|
|
1122
|
+
);
|
|
1123
|
+
}
|
|
1124
|
+
} else {
|
|
1125
|
+
assert.ok(
|
|
1126
|
+
!hasOwnProperty(expectedSuggestion, "data"),
|
|
1127
|
+
`${suggestionPrefix} Test must specify 'messageId' if 'data' is used.`
|
|
1128
|
+
);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
if (hasOwnProperty(expectedSuggestion, "output")) {
|
|
1132
|
+
const codeWithAppliedSuggestion = SourceCodeFixer.applyFixes(item.code, [actualSuggestion]).output;
|
|
1133
|
+
|
|
1134
|
+
assert.strictEqual(codeWithAppliedSuggestion, expectedSuggestion.output, `Expected the applied suggestion fix to match the test suggestion output for suggestion at index: ${index} on error with message: "${message.message}"`);
|
|
1135
|
+
}
|
|
1136
|
+
});
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
} else {
|
|
1140
|
+
|
|
1141
|
+
// Message was an unexpected type
|
|
1142
|
+
assert.fail(`Error should be a string, object, or RegExp, but found (${util.inspect(message)})`);
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
if (hasOwnProperty(item, "output")) {
|
|
1148
|
+
if (item.output === null) {
|
|
1149
|
+
assert.strictEqual(
|
|
1150
|
+
result.output,
|
|
1151
|
+
item.code,
|
|
1152
|
+
"Expected no autofixes to be suggested"
|
|
1153
|
+
);
|
|
1154
|
+
} else {
|
|
1155
|
+
assert.strictEqual(result.output, item.output, "Output is incorrect.");
|
|
1156
|
+
}
|
|
1157
|
+
} else {
|
|
1158
|
+
assert.strictEqual(
|
|
1159
|
+
result.output,
|
|
1160
|
+
item.code,
|
|
1161
|
+
"The rule fixed the code. Please add 'output' property."
|
|
1162
|
+
);
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
assertASTDidntChange(result.beforeAST, result.afterAST);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
/*
|
|
1169
|
+
* This creates a mocha test suite and pipes all supplied info through
|
|
1170
|
+
* one of the templates above.
|
|
1171
|
+
* The test suites for valid/invalid are created conditionally as
|
|
1172
|
+
* test runners (eg. vitest) fail for empty test suites.
|
|
1173
|
+
*/
|
|
1174
|
+
this.constructor.describe(ruleName, () => {
|
|
1175
|
+
if (test.valid.length > 0) {
|
|
1176
|
+
this.constructor.describe("valid", () => {
|
|
1177
|
+
test.valid.forEach(valid => {
|
|
1178
|
+
this.constructor[valid.only ? "itOnly" : "it"](
|
|
1179
|
+
sanitize(typeof valid === "object" ? valid.name || valid.code : valid),
|
|
1180
|
+
() => {
|
|
1181
|
+
testValidTemplate(valid);
|
|
1182
|
+
}
|
|
1183
|
+
);
|
|
1184
|
+
});
|
|
1185
|
+
});
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
if (test.invalid.length > 0) {
|
|
1189
|
+
this.constructor.describe("invalid", () => {
|
|
1190
|
+
test.invalid.forEach(invalid => {
|
|
1191
|
+
this.constructor[invalid.only ? "itOnly" : "it"](
|
|
1192
|
+
sanitize(invalid.name || invalid.code),
|
|
1193
|
+
() => {
|
|
1194
|
+
testInvalidTemplate(invalid);
|
|
1195
|
+
}
|
|
1196
|
+
);
|
|
1197
|
+
});
|
|
1198
|
+
});
|
|
1199
|
+
}
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
RuleTester[DESCRIBE] = RuleTester[IT] = RuleTester[IT_ONLY] = null;
|
|
1205
|
+
|
|
1206
|
+
module.exports = RuleTester;
|