Skip to content

Commit

Permalink
Switching Travis to use ESLint (Closes eslint#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyavolodin committed Jan 2, 2014
1 parent 72d0fce commit f2ced25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Makefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,11 @@ var NODE = "node ", // intentional extra space
ISTANBUL = NODE + NODE_MODULES + "istanbul/lib/cli.js ",
MOCHA = NODE_MODULES + "mocha/bin/_mocha ",
JSDOC = NODE + NODE_MODULES + "jsdoc/jsdoc.js ",
JSHINT = NODE + NODE_MODULES + "jshint/bin/jshint ",
ESLINT = NODE + " bin/eslint.js ",

// Files
JS_FILES = find("lib/").filter(fileType("js")).join(" "),
JSON_FILES = find("conf/").filter(fileType("json")).join(" ") + " .eslintrc .jshintrc",
JSON_FILES = find("conf/").filter(fileType("json")).join(" ") + " .eslintrc",
TEST_FILES = find("tests/lib/").filter(fileType("js")).join(" "),

MONTHS = [
Expand Down Expand Up @@ -88,7 +87,7 @@ target.lint = function() {
exec(JSON_LINT + "-q -c " + JSON_FILES);

echo("Validating JavaScript files");
exec(JSHINT + JS_FILES);
exec(ESLINT + JS_FILES);
};

target.test = function() {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"chai": "~1.8.1",
"shelljs": "~0.2",
"jsonlint": "~1.6.0",
"jshint": "~2.3",
"istanbul": "~0.1"
},
"keywords": [
Expand Down

0 comments on commit f2ced25

Please sign in to comment.