From ccfeb3e6b59576ea4b41661f5e41cdb1f1e8ee48 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 11 Nov 2019 16:43:25 +0000 Subject: [PATCH] Added ESLint note --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 07afce9a..6424c582 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file + 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 +} +``` \ No newline at end of file