Add eslint
This commit is contained in:
parent
51f3aa5166
commit
c081a7a162
3 changed files with 13 additions and 4 deletions
6
.eslintrc
Normal file
6
.eslintrc
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": [
|
||||
"dabapps/commonjs",
|
||||
"dabapps/browser",
|
||||
]
|
||||
}
|
6
Makefile
6
Makefile
|
@ -28,4 +28,8 @@ node_modules:
|
|||
npm install
|
||||
|
||||
|
||||
.PHONY: build clean install
|
||||
test:
|
||||
$(NODE_BIN)/eslint $(STATIC_SRC)/js --ignore-pattern *.min.js
|
||||
|
||||
|
||||
.PHONY: build clean install test
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"name": "theorangeone.net",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"build": "node scripts/build.js"
|
||||
},
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github:RealOrangeOne/theorangeone.net"
|
||||
|
@ -11,6 +9,7 @@
|
|||
"author": "Jake Howard <git@theorangeone.net>",
|
||||
"devDependencies": {
|
||||
"browserify": "14.3.0",
|
||||
"eslint-config-dabapps": "github:dabapps/eslint-config-dabapps#v3.0.0",
|
||||
"node-sass": "4.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in a new issue