Eslint Setup

Mehmet Yıldırım
Aug 28, 2017 · 1 min read
  1. npm install -g eslint // önce sistemimizde global olarak eslint yüklemesi yapıyoruz.
  2. install Eslint extension on your editor of choice // Kullanacağımız editore (Vscode, Atom vs ) eslint yüklemeliyiz
  3. npm install — save-dev eslint-config-rallycoding // projemizin bulunduğu klasörde eslint kurallarını kullanacağımız bir kurall ailesi yüklüyoruz.
  4. Create .eslintrc file on project root // proje ana klasörümüzde .eslintrc dosyası oluşturuyoruz.
  5. Write inside { “extends”: “rallycoding” } // içine soldakini yazıyoruz.
  6. Double quotes are necessary!
)
Mehmet Yıldırım

Written by

Web Programlama gibi şeyler…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade