tomwayson / create-arcgis-app

An example of how to use the ArcGIS platform in an application created with Create React App and React Router
https://create-arcgis-app.surge.sh/
23 stars 8 forks source link

fix eslint invalid eslint set up #12

Closed tomwayson closed 5 years ago

tomwayson commented 5 years ago

OK, I'm an idiot to believe that when I click the new file button in VS Code that it's going create it at the root.

After moving the config files to the root, and realizing that the only reason any linting was being done before was b/c there was eslintConfig section in package.json, I think I've got this working correctly now.

I'm surprised that I had to change the .prettierrc setting to "singleQuote": true. I would have expected that either prettier would have already changed all the single quotes to double quotes, or that I would not have seen single quote linting errors from prettier/prettier.