Hey all, I’m having an eslint issue. After upgradi...
# sst
d
Hey all, I’m having an eslint issue. After upgrading to a version > 0.48, I’m not able to get eslint print error messages properly. I attached a screenshot of what the error output looks like. Note that the errors themselves are not displayed, I’m simply informed that an error exists. But where in my code is the error? Can’t tell. Is the problem with my setup? Or, could it be in SST on this line: https://github.com/serverless-stack/serverless-stack/blob/9a94a549286483fd2a26ec915e864856d9c39c20/packages/resources/src/App.ts#L429-L438 Here’s my eslintConfig:
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"ignorePatterns": ["**/*.js", "**/*/dist", "**/*/node_modules"],
"rules": {
"@typescript-eslint/no-floating-promises": ["error"],
"@typescript-eslint/no-redeclare": ["error"],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-for-in-array": ["error"],
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"extends": ["serverless-stack"],
"parserOptions": {
"project": "../../../tsconfig.json"
}
}
Is anyone else having this issue? Or can you see your eslint errors?
t
Ah interesting let me look into this