tmp
Tuesday, January 29, 2019
Setup format document with ESLint on VSCode
### key bind 追加 `File > Preferences > Keyboard Shortcuts > edit keybindings.json` ``` [ { "key": "ctrl+alt+l", "command": "eslint.executeAutofix" } ] ``` ### eslint.validate の設定変更 ``` "eslint.validate": [ "javascript", "javascriptreact", { "language": "html", "autoFix": true }, { "language": "vue", "autoFix": true } ], ``` ## 参考 * https://github.com/Microsoft/vscode-eslint/issues/417#issuecomment-410363336 * https://github.com/Microsoft/vscode-eslint/issues/185#issuecomment-307842751
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment