Skip to content

Instantly share code, notes, and snippets.

@krdlab
Created May 19, 2018 02:50
Show Gist options
  • Save krdlab/382e499e5a018339c9301830fd96a695 to your computer and use it in GitHub Desktop.
Save krdlab/382e499e5a018339c9301830fd96a695 to your computer and use it in GitHub Desktop.
Visual Studio Code で JavaScript の async/await を使う場合の設定
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2017
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"no-unused-vars": "warn",
"no-console": "off"
}
}
{
"jshint.enable": false,
"eslint.enable": true,
"javascript.validate.enable": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment