Skip to content

Commit

Permalink
remove kcheck, add make eslint/flow
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Sep 2, 2016
1 parent 1ca5012 commit ab9b0ec
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .eslintrc
@@ -0,0 +1,9 @@
{
"extends": "babel",
"rules": {
"max-len": 0
},
"env": {
"node": true
}
}
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -18,7 +18,7 @@ watch: clean
./node_modules/.bin/gulp watch

lint:
./node_modules/.bin/kcheck
./node_modules/.bin/eslint packages/*/src

clean: test-clean
rm -rf packages/*/lib
Expand All @@ -45,6 +45,7 @@ test-cov: clean
test-ci:
make lint
NODE_ENV=test make bootstrap
if ./node_modules/.bin/semver `npm --version` -r ">=3.3.0"; then ./node_modules/.bin/flow check; fi
./scripts/test-cov.sh
cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js

Expand Down
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -8,6 +8,7 @@
"devDependencies": {
"async": "^1.5.0",
"babel-core": "^6.13.2",
"babel-eslint": "^6.1.2",
"babel-plugin-transform-class-properties": "^6.6.0",
"babel-plugin-transform-flow-strip-types": "^6.3.13",
"babel-plugin-transform-runtime": "^6.3.13",
Expand All @@ -20,14 +21,16 @@
"chalk": "1.1.1",
"codecov.io": "^0.1.6",
"derequire": "^2.0.2",
"eslint": "^2.13.1",
"eslint-config-babel": "^1.0.1",
"flow-bin": "^0.31.1",
"gulp": "^3.9.0",
"gulp-babel": "^6.0.0",
"gulp-newer": "^1.0.0",
"gulp-plumber": "^1.0.1",
"gulp-util": "^3.0.7",
"gulp-watch": "^4.3.5",
"istanbul": "^0.4.5",
"kcheck": "^2.0.0",
"lerna": "2.0.0-beta.23",
"lerna-changelog": "^0.2.0",
"lodash": "^4.2.0",
Expand Down

0 comments on commit ab9b0ec

Please sign in to comment.