colin
01/11/2022, 10:39 PM0.57.2 today and it doesn’t seem like sst start is running the type checking or linting anymore. Didn’t see any changes in the release log. My "lint" and "typeCheck" values are still set to true in sst.json and .eslintrc is below. Any ideas?
{
"env": {
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"serverless-stack"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-empty-interface": "OFF"
}
}thdxr
01/11/2022, 10:43 PMthdxr
01/11/2022, 10:43 PMcolin
01/12/2022, 12:59 AMcolin
01/12/2022, 12:59 AM[0] Functions: Building . src/graphql/server.handler...
[0] Functions: Done building . src/graphql/server.handler (152ms)thdxr
01/12/2022, 1:04 AMcolin
01/13/2022, 3:27 PMFrank
colin
01/28/2022, 5:38 PMconst foo = () => {}
But when I invoke the function, all I see is the following.
[0] Functions: Building . src/graphql/server.handler...
[0] Functions: Done building . src/graphql/server.handler (157ms)colin
01/28/2022, 5:42 PM0.60.6colin
01/31/2022, 8:48 PMthdxr
01/31/2022, 8:57 PMthdxr
01/31/2022, 8:57 PMcolin
01/31/2022, 8:57 PMcolin
02/09/2022, 6:43 PM0.43.3 -> 0.61.3 but it seems linting and typechecking errors aren’t throwing/logging anything during local lambda development. This is within an ApolloApi construct.thdxr
02/09/2022, 7:03 PMthdxr
02/09/2022, 7:04 PMcolin
02/09/2022, 7:05 PMthdxr
02/09/2022, 7:06 PMtsc prior to calling sst deploythdxr
02/09/2022, 7:07 PMtsc whenever your function changes though and you should see errors in the terminal but I'll double check this is workingcolin
02/09/2022, 7:09 PMcolin
02/09/2022, 7:15 PMnpm build or a seed deploy to see if something wasn’t compilingcolin
02/09/2022, 7:17 PMSyntaxError: Unexpected token '?' on deploy which seems to tell me I need to manually run tscthdxr
02/09/2022, 7:20 PMthdxr
02/09/2022, 7:20 PM--noEmit for type checkingthdxr
02/09/2022, 7:20 PMcolin
02/09/2022, 7:27 PMnpx sst build --stage dev --verbosecolin
02/09/2022, 7:28 PMcolin
02/09/2022, 7:29 PMFrank
colin
02/09/2022, 7:34 PMthdxr
02/09/2022, 7:41 PMtsc --noEmit command to run before sst deploycolin
02/09/2022, 7:42 PMnpm start correct? You mentioned you guys do kick off a tsc in that case?thdxr
02/09/2022, 7:43 PM