Using package.json to test lint instead
Exclude *.min.js from eslint
This commit is contained in:
parent
c48ba0ad48
commit
40dfffd4f4
4 changed files with 3 additions and 6 deletions
|
@ -13,5 +13,3 @@ trim_trailing_whitespace = false
|
||||||
[{.travis.yml,npm-shrinkwrap.json,package.json}]
|
[{.travis.yml,npm-shrinkwrap.json,package.json}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
[Makefile]
|
|
||||||
indent_style = tab
|
|
||||||
|
|
1
.eslintignore
Normal file
1
.eslintignore
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.min.js
|
3
Makefile
3
Makefile
|
@ -1,3 +0,0 @@
|
||||||
lint:
|
|
||||||
@./node_modules/.bin/eslint .
|
|
||||||
.PHONY: lint
|
|
|
@ -5,7 +5,8 @@
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "make lint",
|
"test": "npm run-script lint",
|
||||||
|
"lint": "eslint .",
|
||||||
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
||||||
"build": "webpack --config webpack.production.js --progress --colors",
|
"build": "webpack --config webpack.production.js --progress --colors",
|
||||||
"postinstall": "bin/heroku",
|
"postinstall": "bin/heroku",
|
||||||
|
|
Loading…
Reference in a new issue