Loading...
Loading...
When working with FaasJS projects, must follow these best practices to ensure code quality, maintainability, and testability.
npx skill4agent add faasjs/faasjs faasjs-best-practicestsconfig.json.ts.tsxtsconfig.json.safeParse()typeofinstanceof=== null/undefinedtypeofinstanceofinput.xxxprops.xxx_unused// removedvp check --fixvp testdefineApi500@faasjs/ant-design.api.tstsconfig.jsonvite.config.tsuseEffectuseFaasuseFaasStreamfaassetMockjsdom.api.tsdefineApiparams.job.tsdefineJobenqueueJobLoggerPluginonMountonInvokeDefineApiInjectfaas.yaml@faasjs/utilsQueryBuilderTablesSchemaBuilderTableBuilderPgVitestPlugin()DATABASE_URLexpectTypeOf(...)