diff --git a/packages/contentful-ssg/package.json b/packages/contentful-ssg/package.json index aaf34ef..f4f19d3 100644 --- a/packages/contentful-ssg/package.json +++ b/packages/contentful-ssg/package.json @@ -55,7 +55,7 @@ }, "scripts": { "clean": "rimraf ./dist", - "lint": "eslint --color src --ext .ts", + "lint": "eslint --color src --fix --ext .ts", "test": "jest", "precompile": "npm run clean", "compile": "tsc --build", diff --git a/packages/contentful-ssg/src/server/index.ts b/packages/contentful-ssg/src/server/index.ts index 40e54bf..15996a9 100644 --- a/packages/contentful-ssg/src/server/index.ts +++ b/packages/contentful-ssg/src/server/index.ts @@ -19,6 +19,7 @@ app.use( ); declare module 'http' { + // eslint-disable-next-line @typescript-eslint/consistent-type-definitions interface IncomingHttpHeaders { 'x-contentful-topic': | 'ContentManagement.ContentType.create'