4
0

.npmrc 795 B

12345678910111213141516
  1. ; Side-by-side TS6+TS7 (fix/45).
  2. ;
  3. ; typescript-eslint aún no soporta TS 7 (peer `<6.1.0`; guard duro que aborta en
  4. ; typescript-eslint/dist/index.js si versionMajor >= 7). El build (`tsc -b`)
  5. ; usa TS 7 (tsgo, bin 'tsc' de '@typescript/native'); typescript-eslint importa
  6. ; 'typescript' y resuelve al alias TS 6 (API de TS 6.0.2, bin 'tsc6').
  7. ;
  8. ; Es el patrón oficial del anuncio de TS 7.0 (Microsoft):
  9. ; https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
  10. ; (#running-side-by-side-with-typescript-6.0)
  11. ;
  12. ; REMOVE WHEN: typescript-eslint publique soporte TS7.
  13. ; Tracking: https://github.com/typescript-eslint/typescript-eslint/issues/10940
  14. ;
  15. ; Cuando eso ocurra: quitar '@typescript/native' y volver 'typescript' a
  16. ; "typescript@^7" en package.json, borrar este fichero.