1
Fork 0

Add eslintrc file

This commit is contained in:
Jake Howard 2016-04-21 18:26:24 +01:00
parent a55bafb925
commit 094c959f01
2 changed files with 4 additions and 1 deletions

3
.eslintrc Normal file
View file

@ -0,0 +1,3 @@
{
"extends": "./node_modules/eslint-config/.eslintrc"
}

View file

@ -3,7 +3,7 @@
"version": "3.0.0",
"description": " Source code for TheOrangeOne.net",
"scripts": {
"lint": "eslint -c node_modules/eslint-config/.eslintrc 'static/src/js/'",
"lint": "eslint 'static/src/js/'",
"build-js": "./scripts/build-js.sh",
"create-build-dirs": "mkdir -p static/build/js/lib static/build/fonts static/build/css static/build/img",
"build": "npm run create-build-dirs && npm run build-fonts && npm run build-images && npm run build-js && npm run build-less",