also is it seems like `sst build` doesn't respect ...
# sst
t
also is it seems like
sst build
doesn't respect eslintignore
j
That's weird. We've got a test for this https://github.com/serverless-stack/serverless-stack/tree/master/packages/cli/test/eslint-ignore. Can you share what your setup/project layout looks like?
t
I think it's a normal setup with .eslintignore in root
.eslintignore
contains
*
running
sst start
shows correct
0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override
running
sst build
fails with linting errors
f
@thdxr with
.eslintignore
are you still seeing lint errors in your cdk code or in lambda handler code?
@thdxr I found the issue. @Jay is taking a look