ESLint has already been integrated in Visual Studio 2017 by Microsoft. You can enable or disable it as per your project requirement.
ESLint follows rules from a file named
.eslintrc which you can find on below location. You can also modify this file and change rules as per your project requirement.