Comments (1)
You need to do some research about NodeJS and its support of ESM. https://nodejs.org/api/esm.html
If you can't use ESM then the code works just as well written as CJS.
from typescript-eslint.
Related Issues (20)
- Enhancement: remove deprecated helpers for ESLint context HOT 1
- Bug: [prefer-for-of] triggered for loops that can not be converted HOT 11
- Docs: Temporarily link to ESLint 9 tracking issue on README.md HOT 2
- Bug: eslint ignores property is not taken into account, and it displays <ESLint was configured to run ... However, that TSConfig does not / none of those TSConfigs include this file> HOT 10
- Docs: Add links to npm packages in typescript-eslint/packages/*
- Rule proposal: Warn when deprecated APIs are used (eslint-plugin-deprecation)
- Bug: [no-useless-template-literals] Doesn't report for `String.raw` HOT 3
- Bug: [no-unnecessary-condition] reports on indirect eval HOT 5
- Enhancement: Support `${configDir}` in `tsconfig.json` HOT 7
- Bug: [no-var-requires] false positive on TemplateLiteral HOT 4
- TypeScript 5.5 Support
- Docs: contributing docs should say how to update rule doc code example snapshots HOT 2
- Enhancement: Finalize naming for EXPERIMENTAL_useProjectService HOT 1
- Enhancement: Finalize naming for EXPERIMENTAL_useProjectService HOT 1
- Repo: Test rule-tester in CI HOT 1
- Bug: [no-unnecessary-type-assertion] false positive when casting to HTMLElement (from Element) HOT 6
- Bug: object-shorthand loses type parameters when auto-fixing HOT 3
- Enhancement: [strict-boolean-expressions] Check truthiness assertion functions HOT 6
- Repo: rule-tester's eslint-base test failing on main
- Repo: rule-tester tests failing on v8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-eslint.