Declare eslint call more simply in the scripts. (babel/babel-eslint#297)

This commit is contained in:
Rafał Ruciński 2016-04-20 02:55:24 +02:00
parent 149dd082f3
commit fd36e3cf8d

View File

@ -22,8 +22,8 @@
"bootstrap": "git submodule update --init && cd eslint && npm install", "bootstrap": "git submodule update --init && cd eslint && npm install",
"eslint": "cd eslint && mocha -c tests/lib/rules/*.js -r ../eslint-tester.js", "eslint": "cd eslint && mocha -c tests/lib/rules/*.js -r ../eslint-tester.js",
"test": "mocha", "test": "mocha",
"lint": "node node_modules/eslint/bin/eslint.js index.js babylon-to-espree test", "lint": "eslint index.js babylon-to-espree test",
"fix": "node node_modules/eslint/bin/eslint.js index.js babylon-to-espree test --fix", "fix": "eslint index.js babylon-to-espree test --fix",
"preversion": "npm test" "preversion": "npm test"
}, },
"author": "Sebastian McKenzie <sebmck@gmail.com>", "author": "Sebastian McKenzie <sebmck@gmail.com>",