Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
test(typescript-estree): enable more alignment tests#114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -147,14 +147,7 @@ tester.addFixturePatternConfig('javascript/simple-literals'); | ||
tester.addFixturePatternConfig('javascript/directives'); | ||
tester.addFixturePatternConfig('javascript/experimentalObjectRestSpread'); | ||
tester.addFixturePatternConfig('javascript/arrowFunctions', { | ||
ignore: [ | ||
@@ -330,16 +323,6 @@ tester.addFixturePatternConfig('typescript/basics', { | ||
* TODO: Investigate in more depth, potentially split up different parts of the interface | ||
*/ | ||
'interface-with-all-property-types', // babel parse errors | ||
/** | ||
* there is difference in range between babel and ts-estree | ||
*/ | ||
@@ -351,11 +334,6 @@ tester.addFixturePatternConfig('typescript/basics', { | ||
* TODO: report it to babel | ||
*/ | ||
'interface-with-extends-member-expression', | ||
/** | ||
* Babel bug for optional or abstract methods | ||
* https://github.com/babel/babel/issues/9305 | ||
@@ -364,46 +342,32 @@ tester.addFixturePatternConfig('typescript/basics', { | ||
'abstract-class-with-optional-method', // babel parse errors | ||
'declare-class-with-optional-method', // babel parse errors | ||
/** | ||
* Was expected to be fixed by PR into Babel: https://github.com/babel/babel/pull/9284 | ||
* But not fixed in Babel 7.3 | ||
* TODO: Investigate differences | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. looks like we have issue with ranges, but modifier is attached to | ||
*/ | ||
'class-with-private-parameter-properties', | ||
'class-with-protected-parameter-properties', | ||
'class-with-public-parameter-properties', | ||
'class-with-readonly-parameter-properties', | ||
/** | ||
* Was expected to be fixed by PR into Babel: https://github.com/babel/babel/pull/9302 | ||
* But not fixed in Babel 7.3 | ||
* TODO: Investigate differences | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. in babel i implemented this in a little diffrent way. we have one node TSImportType with property isTypeOf set to true/false (as is in ts) spliting this node to 2 allows us to handle comments in between them | ||
*/ | ||
'import-type', | ||
'import-type-with-type-parameters-in-type-reference', | ||
/** | ||
* Not yet supported in Babel https://github.com/babel/babel/issues/9228 | ||
* Directive field is not added to module and namespace | ||
*/ | ||
'directive-in-module', | ||
'directive-in-namespace', | ||
/** | ||
* Babel parses this incorrectly | ||
* https://github.com/babel/babel/issues/9324 | ||
*/ | ||
'type-assertion-arrow-function' | ||
], | ||
ignoreSourceType: [ | ||
/** | ||
@@ -443,27 +407,12 @@ tester.addFixturePatternConfig('typescript/expressions', { | ||
}); | ||
tester.addFixturePatternConfig('typescript/errorRecovery', { | ||
fileType: 'ts' | ||
}); | ||
tester.addFixturePatternConfig('typescript/types', { | ||
fileType: 'ts', | ||
ignore: [ | ||
/** | ||
* AST difference | ||
*/ | ||