dillon1000/react

Commit

First attempt at making the linter work with advanced TypeScript syntax

First attempt at making the linter work with advanced TypeScript syntax 

Falls back to the babel parser for some advanced syntax like string template 
syntax. 

This is pretty hacky as it doesn't take in any parsing options that are 
configured for the outer ESLint parser, not sure how that could be handled.
Browse files
Changed paths4 files
First-parent comparison
A compiler/packages/eslint-plugin-react-compiler/__tests__/ReactCompilerRuleTypescript-test.ts AddedM compiler/packages/eslint-plugin-react-compiler/package.json ModifiedM compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts ModifiedM compiler/yarn.lock Modified
Patch

Files changed

Rendering syntax-highlighted changes…