r13i / sugarshare-extension-chrome

A Chrome extension for SugarShare
Mozilla Public License 2.0
0 stars 0 forks source link

Update Lint and Compiler options #3

Open reynnan opened 2 years ago

reynnan commented 2 years ago

From the latest version of React you dont need to import React in the file anymore

image

But if you remove:

image
reynnan commented 2 years ago

This can be fixed by following the eslintrc from React

image
r13i commented 2 years ago

Feel free to set it up. I set the base as airbnb (and react/recommended) because I agree with most of their principles and it was a quick way to get things started.

reynnan commented 2 years ago

even quicker to just accept the React way 🙏 hahahahah but I understand, but if nothing from the eslint is not really needed to the extension to work, Id prefer to go to the react-app only