glmnbeyond created CB-6515: ------------------------------ Summary: cordova-js Task "jshint:src" failed! Key: CB-6515 URL: https://issues.apache.org/jira/browse/CB-6515 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Reporter: glmnbeyond
Use the latest cordova-js master branch code and run grunt: Running "jshint:src" (jshint) task Linting src/cordova_b.js ...ERROR [L232:C3] W015: Expected 'if' to have an indentation at 5 instead at 3. if(module === "cordova/exec") { Linting src/cordova_b.js ...ERROR [L233:C5] W015: Expected 'return' to have an indentation at 9 instead at 5. return cordova.exec; Linting src/cordova_b.js ...ERROR [L234:C3] W015: Expected '}' to have an indentation at 5 instead at 3. } Linting src/cordova_b.js ...ERROR [L236:C3] W015: Expected 'return' to have an indentation at 5 instead at 3. return undefined; Linting src/cordova_b.js ...ERROR [L237:C2] W033: Missing semicolon. } Warning: Task "jshint:src" failed. Use --force to continue. Aborted due to warnings. -- This message was sent by Atlassian JIRA (v6.2#6252)