Skip to content

Commit 40dfffd

Browse files
committed
Using package.json to test lint instead
Exclude *.min.js from eslint
1 parent c48ba0a commit 40dfffd

4 files changed

Lines changed: 3 additions & 6 deletions

File tree

.editorconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@ trim_trailing_whitespace = false
1313
[{.travis.yml,npm-shrinkwrap.json,package.json}]
1414
indent_style = space
1515
indent_size = 2
16-
[Makefile]
17-
indent_style = tab

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.min.js

Makefile

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "app.js",
66
"license": "MIT",
77
"scripts": {
8-
"test": "make lint",
8+
"test": "npm run-script lint",
9+
"lint": "eslint .",
910
"dev": "webpack --config webpack.config.js --progress --colors --watch",
1011
"build": "webpack --config webpack.production.js --progress --colors",
1112
"postinstall": "bin/heroku",

0 commit comments

Comments
 (0)