I just upgraded SST to 0.50.2 and I'm getting runt...
# help
e
I just upgraded SST to 0.50.2 and I'm getting runtime errors. They all seem related to my using Sequelize. I don't use typescript in my own code.
error  Require statement not part of import statement  @typescript-eslint/no-var-requires
I tried adding this at the top of the file :
Copy code
/* eslint-disable no-eval */
but no difference. Any other idea ?
t
do you remember what version you were on before?
e
0.43.9
t
Also does changing it to
const x = require(...)
help
This isn't exactly a TS issue, it means you don't like our default eslint ruleset. You can add your own
.eslintrc
to disable certain rules
e
I ended up with the following in my package.json to get things to work as is:
Copy code
"eslintConfig": {
    "extends": ["serverless-stack"],
    "rules": {
      "@typescript-eslint/no-var-requires": 0
    }