Comments (1)
From a quick test, the node:
prefix in imports is handled properly as long as ESLint in runned by Node 14 or newer. This also includes ESLint extension in VS Code which by defaults runs under Node 12 and will report an error.
The workaround for now (until VS Code upgrades Node) is to customize runtime
option of ESLint extension:
{
"eslint.runtime": "node" // will use default node, make sure it's Node 14 or newer
}
or
{
"eslint.runtime": "/path/to/node"
}
from eslint-config-callstack.
Related Issues (20)
- Consider enabling `explicit-module-boundary-types`
- Consider enabling `caseSensitiveStrict` for `import/no-unresolved `
- set `parserOptions.ecmaVersion` set to 'latest'
- There is a deprecated piece of a suggestion HOT 3
- Failed to load plugin 'import' declared in '.eslintrc.js ยป @callstack/eslint-config
- npm page doesn't include link to github
- How to deal with monorepos and import/no-extraneous-dependencies? HOT 2
- Typescript & VSCode HOT 3
- An in-range update of eslint-plugin-jest is breaking the build ๐จ HOT 5
- An in-range update of eslint-plugin-flowtype is breaking the build ๐จ HOT 1
- An in-range update of @typescript-eslint/eslint-plugin is breaking the build ๐จ HOT 3
- An in-range update of @typescript-eslint/parser is breaking the build ๐จ HOT 3
- An in-range update of eslint-plugin-react is breaking the build ๐จ HOT 2
- An in-range update of eslint-plugin-jest is breaking the build ๐จ HOT 1
- An in-range update of eslint-plugin-jest is breaking the build ๐จ HOT 2
- Extract separate React (web) config HOT 1
- Prettier 2 bump HOT 4
- Add eslint-plugin-react-native-a11y
- RFC: sort imports by default HOT 4
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 eslint-config-callstack.