Added ESLint note

This commit is contained in:
Joel Collins 2019-11-11 16:43:25 +00:00
parent ebcb938da1
commit ccfeb3e6b5

View file

@ -17,4 +17,33 @@ A general guide on setting up your microscope, including OpenFlexure eV, can be
* Binaries will be built **and deployed** when a merge into `stable` completes.
* These binaries will expire on GitLab after a week, but will be permanantly
deployed to http://build.openflexure.org/openflexure-ev
deployed to http://build.openflexure.org/openflexure-ev
## Developer notes
### VS Code and ESLint
To prevent the editor from interfering with ESLint, add to your project `settings.json `:
```
{
"editor.tabSize": 2,
"cSpell.enabled": false,
"eslint.validate": [{
"language": "vue",
"autoFix": true
},
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
}
],
"eslint.autoFixOnSave": true,
"editor.formatOnSave": false,
"vetur.validation.template": false
}
```