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
|
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",
|
"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": {
|
||||||
|
|
Loading…
Reference in a new issue