Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the proper way to get Cloud9 to read lint config files (.jshintrc or .eslintrc)?

Tags:

cloud9-ide

I am a new Cloud9 (c9.io) user and I spent the morning searching the web, but cant seem to find an answer on what needs to be done for Cloud9 to recognize me lint config files. They are currently in my workspace/project root, but none of the rules (like, 80 character line max, etc...) are being enforced by the editor. It seems to do some basic linting that I have limited control over... but for javascript development I really need more for my team.

Thanks,

Eric

like image 942
Eric Mey Avatar asked Mar 04 '15 16:03

Eric Mey


People also ask

Where do I find Eslintrc?

Go to settings --> packages --> linter-eslint settings. On that menu, look for the . eslintrc Path option.

How do I show hidden files in Cloud 9?

To show or hide hidden files, in the Environment window, choose the gear icon, and then choose Show Hidden Files.


1 Answers

Currently the Cloud9 IDE uses ESLint for linting purposes within the editor, but doesn't read configuration from .eslintrc files within the project yet.

like image 99
Mutahhir Avatar answered Jan 02 '23 11:01

Mutahhir