sladg / nextjs-lambda

Lambda deployments for Nextjs12 & Nextjs13 (standalone). Easy CLI commands to get your standalone Next output to run in AWS Lambda (not @Edge)! Uses CDK in behind and produces code zips importable to Terraform, Serverless, Azure, etc.
MIT License
169 stars 19 forks source link

fix: eslint config and errors #85

Closed davulrich closed 1 year ago

davulrich commented 1 year ago

I've forked the repo recently. During my journey through the codebaseI I noticed that your current eslint scripts applies only to files placed directly in the lib folder and other deeper nested files are not included. It bothered me to see so many red underlines in the editor so I kindly dared to create this PR.

The PR fixed following:

There still remains one warning regarding the format code which is for some reason not fixed by prettier. We can just ignore this for now or add eslint-ignore comment.