From be3314ef70f367befec6633c2bf77ea45bb59332 Mon Sep 17 00:00:00 2001 From: pubkey Date: Wed, 5 Sep 2018 20:12:17 +0200 Subject: [PATCH] FIX lint --- .eslintignore | 3 +++ config/.eslintignore | 1 - package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .eslintignore delete mode 100644 config/.eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..2ac7e94 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,3 @@ +dist/ +gen/ +test_tmp/ diff --git a/config/.eslintignore b/config/.eslintignore deleted file mode 100644 index 849ddff..0000000 --- a/config/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -dist/ diff --git a/package.json b/package.json index bdafde5..5af81b5 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "test:node": "npm run build && mocha ./test/index.test.js -b --timeout 6000 --exit", "test:browser": "npm run build && karma start ./config/karma.conf.js --single-run", "test:size": "npm run build && rimraf test_tmp/browserify.js && browserify --no-builtins dist/lib/browserify.index.js > test_tmp/browserify.js && uglifyjs --compress --mangle --output test_tmp/browserify.min.js -- test_tmp/browserify.js && echo \"Build-Size (minified+gzip):\" && gzip-size --raw test_tmp/browserify.min.js", - "lint": "eslint --ignore-path ./config/.eslintignore src test config scripts && solhint \"contracts/**/*.sol\"", + "lint": "eslint --ignore-path .eslintignore src test config && solhint \"contracts/**/*.sol\"", "clear": "rimraf -rf ./dist && rimraf -rf ./gen && rimraf -rf ./test_tmp", "build:sol": "solidity-cli -i './contracts/*.sol' -o ./gen", "build:es6": "rimraf -rf dist/es && cross-env NODE_ENV=es6 babel src --out-dir dist/es",