dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.6k stars 25.29k forks source link

Add ESLint configuration to create-react-app project #8905

Closed gfox1984 closed 6 years ago

gfox1984 commented 6 years ago

Issue description

The default project created with "dotnet new reactredux" contains a number of ESLint warnings (eg: "Component definition is missing display name" in App.js) causing most of the files to be highlighted in green or red in Visual Studio (2017 Version 15.8.6).

Please review and correct the warning and errors OR add a working configuration file for ESLint that works better with the create-react-app project.

Software versions

Check the .NET target framework(s) being used, and include the version number(s).

gfox1984 commented 6 years ago

Re-logged in the appropriate repository: https://github.com/aspnet/Templating/issues/769