mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
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}]
|
||||
indent_style = space
|
||||
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",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "make lint",
|
||||
"test": "npm run-script lint",
|
||||
"lint": "eslint .",
|
||||
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
||||
"build": "webpack --config webpack.production.js --progress --colors",
|
||||
"postinstall": "bin/heroku",
|
||||
|
|
Loading…
Reference in a new issue