upleveled / eslint-config-upleveled

UpLeveled ESLint defaults for programming in JavaScript, TypeScript, React, Next.js, Node.js, Postgres.js
https://www.npmjs.com/package/eslint-config-upleveled
39 stars 12 forks source link

Allow empty interfaces with single extends #397

Closed karlhorky closed 2 months ago

karlhorky commented 2 months ago

To allow for code like:

declare namespace NodeJS {
  interface Require extends __MetroModuleApi.RequireFunction {}
}

Reference:

codesandbox-ci[bot] commented 2 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

karlhorky commented 2 months ago

@ProchaLu thanks for the review! Released in eslint-config-upleveled@8.3.2