Skip to content

TypeScript ESLint Parser

Compare
Choose a tag to compare
@daveberning daveberning released this 08 Jan 21:48
· 4 commits to master since this release

Changed the parser in the .eslintrc.js file from babel-eslint to typescript-eslint-parser. This will no longer throw errors when running yarn lint when using TypeScript outside of the component.

This will no longer throw a lint error.

const foo = {
   text: "test",
   url: ""
 } as Link;

Thanks for the support, Roman!