Added ESLint note
This commit is contained in:
parent
ebcb938da1
commit
ccfeb3e6b5
1 changed files with 30 additions and 1 deletions
29
README.md
29
README.md
|
|
@ -18,3 +18,32 @@ 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.
|
* 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
|
* 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
|
||||||
|
}
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue