cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <>
Subject [jira] [Created] (CB-12895) Replace jshint with eslint in our tools + platforms
Date Wed, 07 Jun 2017 18:37:18 GMT
Steve Gill created CB-12895:

             Summary: Replace jshint with eslint in our tools + platforms
                 Key: CB-12895
             Project: Apache Cordova
          Issue Type: Improvement
            Reporter: Steve Gill
            Priority: Minor

Based on this proposal

JSHint does minimal checks and JSCS has been deprecated in favor of ESLint.
 +I suggest to replace the current style checkers with ESLint. This allows to set much more
strict styling rules than at at this moment.
 +I recommend using a popular preset, such as [airbnb-base](
Example configuration:
 +root: true
 +extends: airbnb-base
 +Many styling issues could be fixed by simply running:
 +./node_modules/.bin/eslint --fix .
 +Optionally the indent could be set to 4 instead of 2, because that's used in the current
code base.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message