Skip to content

Finding the correlation of eslint result with npm package popularity

Notifications You must be signed in to change notification settings

atearjen/eslint_analysis

Repository files navigation

eslint_analysis

Finding the correlation of eslint result with npm package popularity

File Order

  1. npminstall.py.
  2. githubClone.py.
  3. eslint.py.
  4. eslintParser.py.

Order does Matter!!

      eslint.py is dependent on githubClone.py , file 4 is dependent on file 3.

How to Run the files

       1. python3 filename.py in the terminal.

OverWrite My Textfiles

       1. in npmpackages.txt for example, those are packages 2790 -2990, if you want packages 0-200 or the middle 200.
       Copy your selection from the google drive, and paste over the text file ( CMD/CTRL + A, CTRL/CMD + C).
       on Excel/Drive, (CMD/CTRL + A, Ctrl/CMD + P) on your. text editor, I used Sublime.

How to get Eslintdirs.txt

In whatever directory you used githubClone.py. type this into your terminal ls > eslintDirs.txt
That will output all files into a text file called eslintDirs.txt, then you will have to remove the non directory files. I did it in finder. Unless there is an ls command which will only return directories, you're going to have to manually remove some.

GitHub Clone will create a lot of directories, make sure to run a script in a giant directory

Eslint.py will create a lot of text files, make sure when you are running it that you are in a directory you want to be in

About

Finding the correlation of eslint result with npm package popularity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages