mirror of https://github.com/espruino/BangleApps
Add basic linting for app loader
parent
148a258560
commit
317ec01b4e
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": 6,
|
||||||
|
"sourceType": "script"
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"browser": true,
|
||||||
|
"node": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -9,7 +9,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint-apps": "eslint ./apps --ext .js",
|
"lint-apps": "eslint ./apps --ext .js",
|
||||||
"test": "node bin/sanitycheck.js && eslint ./apps --ext .js",
|
"test": "node bin/sanitycheck.js && eslint ./apps --ext .js && eslint ./js",
|
||||||
"start": "npx http-server"
|
"start": "npx http-server"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue