JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1142
  • Score
    100M100P100Q96896F
  • License MIT

Support eslint.config.mjs and eslint.config.ts for ESLint

Package Exports

  • eslint-ts-patch
  • eslint-ts-patch/package.json
  • eslint-ts-patch/register
  • eslint-ts-patch/use-at-your-own-risk

Readme

eslint-ts-patch

npm version npm downloads bundle JSDocs License

Support loading eslint.config.mjs and eslint.config.ts as flat config files for ESLint.

Configure files will be searched in the following order, the first one found will be used:

  • eslint.config.js
  • eslint.config.cjs
  • eslint.config.mjs
  • eslint.config.ts
  • eslint.config.cts
  • eslint.config.mts

For .js, .cjs, and .mjs files, they will be loaded by Node's native import(). For .ts, .cts, and .mts files, they will be loaded using jiti.

Install

Sponsors

License

MIT License © 2023-PRESENT Anthony Fu