use eslint to fix indentation of app loader js

master
Gordon Williams 2020-05-27 16:51:14 +01:00
parent 765be3ef40
commit 2fd2caaacc
7 changed files with 291 additions and 284 deletions

1
js/.eslintignore Normal file
View File

@ -0,0 +1 @@
espruinotools.js

View File

@ -4,7 +4,13 @@
"sourceType": "script" "sourceType": "script"
}, },
"rules": { "rules": {
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
]
}, },
"env": { "env": {
"browser": true, "browser": true,