9gustin / react-notion-render

A library to render notion pages
MIT License
144 stars 20 forks source link

feat: make Eslint use ECMA and module source type #164

Closed bytrangle closed 2 years ago

bytrangle commented 2 years ago

Hey, thank you so much for making this amazing renderer for Notion content. I've noticed two hiccups with Eslint config that can be fixed quickly:

Not configuring the parser option to use "sourceType: module" may lead to this error: "The keyword ... is reserved", as discussed here.