Finding the correlation of eslint result with npm package popularity
- npminstall.py.
- githubClone.py.
- eslint.py.
- eslintParser.py.
eslint.py is dependent on githubClone.py , file 4 is dependent on file 3.
1. python3 filename.py
in the terminal.
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.
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.