Closed ShalbafZadeh closed 7 years ago
@ShalbafZadeh I think it's not our best option. The JS files are JavaScript files! There are other type of files (like SCSS) too. It's not good to force all of them to be python language file.
There are several other options:
.gitattributes
in order to exclude clients
directory from Linguist as most of JS and SCSS files are in clients
directory.
clients/* linguist-vendored
I think the second aproach is the best but the third is well too.
What's your opinion?
@mamal72 I think third one is better approach bestoon is a project for getting started with web developing and separating part of project will confuse people ( at least in current state of project 😃) i think @jadijadi should decide here
lets decide later. this will make confusion at the moment. thanks to both of you
now Github detects bestoon as a python project instead of a js project
Github is using linguist for detecting language of repositories and it's behavior can be overridden
This pull request overrides it and counts all js files as python files