remove old jshint directives

This commit is contained in:
Iuri Matias 2018-02-07 19:49:54 -05:00
parent a8222df1eb
commit 3b60793b25
10 changed files with 3 additions and 11 deletions

View File

@ -1,5 +1,3 @@
/*jshint esversion: 6 */
var EmbarkJS = {};
EmbarkJS.isNewWeb3 = function() {

View File

@ -1,4 +1,3 @@
/*jshint esversion: 6, loopfunc: true */
let async = require('../utils/async_extend.js');
class Compiler {

View File

@ -1,4 +1,3 @@
/*jshint esversion: 6, loopfunc: true */
var fs = require('./fs.js');
var utils = require('../utils/utils.js');

View File

@ -15,7 +15,7 @@ function doEval(code, _web3) {
try {
// TODO: add trace log here
return eval(code); // jshint ignore:line
return eval(code);
} catch(e) {
throw new Error(e + "\n" + code);
}

View File

@ -10,7 +10,7 @@ class Console {
}
runCode(code) {
RunCode.doEval(code); // jshint ignore:line
RunCode.doEval(code);
}
processEmbarkCmd (cmd) {

View File

@ -1,4 +1,3 @@
/*jshint esversion: 6 */
let async = require('async');
// require("./utils/debug_util.js")(__filename, async);

View File

@ -70,7 +70,6 @@ class Solidity {
for (let i=0; i<output.errors.length; i++) {
if (output.errors[i].type === 'Warning') {
self.logger.warn(output.errors[i].formattedMessage);
//return callback(new Error("Solidity errors: " + output.errors).message);
}
if (output.errors[i].type === 'Error' || output.errors[i].severity === 'error') {
return callback(new Error("Solidity errors: " + output.errors).message);

View File

@ -1,4 +1,3 @@
/*jshint esversion: 6, loopfunc: true */
let fs = require('../core/fs.js');
let async = require('async');
//var Plugins = require('../core/plugins.js');

View File

@ -1,4 +1,3 @@
/*jshint esversion: 6 */
let chokidar = require('chokidar');
let fs = require('../core/fs.js');

View File

@ -96,7 +96,7 @@ Test.prototype.deployAll = function(contractsConfig, cb) {
throw new Error(err);
}
self.web3.eth.defaultAccount = accounts[0];
RunCode.doEval(result, self.web3); // jshint ignore:line
RunCode.doEval(result, self.web3);
//cb();
cb(accounts);
});