{"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyukidarake.hateblo.jp%2Fentry%2F2015%2F11%2F09%2F203700\" title=\"JS\u306eswitch\u6587\u306ecase\u306b\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7\u3092\u4ed8\u3051\u308b - \u306a\u3063\u304f\u65e5\u5831\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"nakimura","type":"rich","published":"2015-11-09 20:37:00","categories":[],"version":"1.0","image_url":null,"blog_title":"\u306a\u3063\u304f\u65e5\u5831","title":"JS\u306eswitch\u6587\u306ecase\u306b\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7\u3092\u4ed8\u3051\u308b","description":"ESLint v1.9\u3067\u8ffd\u52a0\u3055\u308c\u305fno-case-declarations\u30eb\u30fc\u30eb\u3067\u3001\u3078\uff5e\u3068\u601d\u3063\u305f\u3053\u3068\u304c\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 no-case-declarations\u30eb\u30fc\u30eb\u3068\u306f\uff1f no-case-declarations - Rules - ESLint - Pluggable JavaScript linter \u306b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u3042\u308a\u307e\u3059\u304c\u3001 \u2193\u306e\u30b3\u30fc\u30c9\u3060\u3068\u3001switch\u30d6\u30ed\u30c3\u30af\u5185\u3067x\u3068\u304by\u304c\u898b\u3048\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u8b66\u544a\u3057\u3066\u304f\u308c\u308b\u3068\u3002 switch (foo) { case 1: let x = 1; break; case 2: const y = 2; break; case 3: function \u2026","url":"https://yukidarake.hateblo.jp/entry/2015/11/09/203700","author_url":"https://blog.hatena.ne.jp/nakimura/","provider_url":"https://hatena.blog","height":"190","blog_url":"https://yukidarake.hateblo.jp/"}