View Revisions: Issue #16762

Summary 16762: Linting for JavaScript
Revision 2020-10-20 13:46 by ollehar
Description How to apply a standard, and which standard.

Suggestion:

* Use jshint or eslint
* Use Airbnb standard

https://jshint.com/docs/
https://raw.githubusercontent.com/airbnb/javascript/master/linters/.jshintrc

Same arguments apply as for PSR-12 and PHP CodeSniffer.
Revision 2020-10-20 13:46 by ollehar
Description How to apply a standard, and which standard.

Suggestion:

* Use jshint or eslint
* Use Airbnb standard

https://jshint.com/docs/
https://raw.githubusercontent.com/airbnb/javascript/master/linters/.jshintrc
Revision 2020-10-20 13:45 by ollehar
Description How to apply a standard, and which standard.

Suggestion:

* Use jshint or eslint
* Use Airbnb standard