1
Fork 0

Add eslint

This commit is contained in:
Jake Howard 2017-04-30 22:46:42 +01:00
parent 51f3aa5166
commit c081a7a162
3 changed files with 13 additions and 4 deletions

6
.eslintrc Normal file
View file

@ -0,0 +1,6 @@
{
"extends": [
"dabapps/commonjs",
"dabapps/browser",
]
}

View file

@ -28,4 +28,8 @@ node_modules:
npm install npm install
.PHONY: build clean install test:
$(NODE_BIN)/eslint $(STATIC_SRC)/js --ignore-pattern *.min.js
.PHONY: build clean install test

View file

@ -1,9 +1,7 @@
{ {
"name": "theorangeone.net", "name": "theorangeone.net",
"version": "1.0.0", "version": "1.0.0",
"scripts": { "scripts": {},
"build": "node scripts/build.js"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git@github:RealOrangeOne/theorangeone.net" "url": "git@github:RealOrangeOne/theorangeone.net"
@ -11,6 +9,7 @@
"author": "Jake Howard <git@theorangeone.net>", "author": "Jake Howard <git@theorangeone.net>",
"devDependencies": { "devDependencies": {
"browserify": "14.3.0", "browserify": "14.3.0",
"eslint-config-dabapps": "github:dabapps/eslint-config-dabapps#v3.0.0",
"node-sass": "4.5.2" "node-sass": "4.5.2"
}, },
"dependencies": { "dependencies": {