Comments (5)
@bradzacher i will take a look ono this, but i think issue is in typescript-eslint-parser
or even in typescript-estree
from typescript-eslint.
@mockdeep i make a PR for this eslint/typescript-eslint-parser#583
from typescript-eslint.
ok i did some testing and sourceType is not properly set in https://github.com/eslint/typescript-eslint-parser/blob/master/parser.js#L74
from typescript-eslint.
@armano2 excellent, thanks!
from typescript-eslint.
Should have a test case added to the plugin if this is fixed.
from typescript-eslint.
Related Issues (20)
- Repo: Error in config generation if a deprecated rule is in a (recommended|strict|stylistic) config
- Enhancement: [no-mixed-enums] Use scope analysis instead of type checking for namespaces
- Website: Playground doesn't update errors on switching back from editing config files
- Repo: Add unit tests inside type-utils
- Repo: Drop 'T' from internal type parameters HOT 1
- Bug: [ban-ts-comment] incorrectly handles directives in multiline block comments
- Repo: CI flake on lint task in NX: "Unexpected error."
- Rule proposal: Prefer Array.prototype.some() over Array.prototype.find() in boolean contexts HOT 3
- Bug: [prefer-find] Add support for checking ternaries HOT 1
- Bug: [prefer-optional-chain] Issue with check on `null` and `undefined`
- Docs: use shiki to render errors in rule doc examples
- Docs: render snapshots of all rule doc example eslint output
- Docs: Docs state to use "recommended-type-checked" plugin when name is actually "recommended-requiring-type-checking" HOT 2
- Bug: [prefer-find] errors when trying to convert a Symbol value to a number HOT 1
- Docs: deprecated stylistic rules redirects to 404 HOT 1
- Bug: [no-unnecessary-type-assertion] problem with asserting querySelector result HOT 1
- Repo: (ast-utils) Mention behavior around symbols in JSDoc for getStaticValue
- Bug: "plugin:@typescript-eslint/recommended" error eslint JS files HOT 2
- Docs: Mention new typescript-eslint package more prominently in /packages page HOT 2
- Enhancement: [no-floating-promises] add an 'allowForKnownSafePromiseReturns' option 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.