ï¼2016/10/24追è¨ï¼ ãã°ãã Syntastic ã使ã£ã¦ã¾ããããNeomake ã¨ããããå¿«é©ãªãã©ã°ã¤ã³ãè¦ã¤ãã£ãã®ã§ä»ã¯ãã¡ãã使ã£ã¦ã¾ãã ï¼è¿½è¨ããã¾ã§ï¼ ã¯ããã« vim 㧠ES2015 ãæ¸ãã¦ããã¨ãæ§æãã§ãã¯ãã³ã¼ãã£ã³ã°ã¨ä¸¦è¡ãã¦è¡ãããã¨æããããã«ãªãã¾ãã Syntastic ã¯ãã®ããã® vim ã®ãã©ã°ã¤ã³ã§ãJavaScript ã«éããæ§ã ãªè¨èªã®æ§æãã§ãã¯ãè¡ããã¨ãå¯è½ã§ãã åèï¼ä»¥å Python ç¨ã«è¨å®ããæã®è¨äº ä»å㯠JavaScript ã®ä»£è¡¨ç㪠linter (syntax checker) ã§ãã ESLint ã使ããvim 㧠ES2015 ãæ¸ãã¨ãã®æ§æãã§ãã¯ç°å¢ãæ§ç¯ãã¦ã¿ã¾ãã ããè¦ãè¨å® ãvim es6 syntasticãã¨ãã§ã°ã°ã£ã¦ããè¦ãã®ã¯ä»¥ä¸ã®ããã«ãESLint ãã°ãã¼ãã«ã¤
JavaScript ã¯ES6ã«ãã£ã¦ããããã¨æ©è½ãå å®ãããã¨ã«ãªã£ã¦ããã®ã§ãããclassã¨ãgeneratorã¨ããããåãä¸ãããã¦ããã¨æã£ç«ã¦ãã®ã§ãã¦ã£ããããã ãã ã¨æã£ãã®ã§ããã ã¾ããä»ã«ãæ©è½ãããã¨ã¯ããã ã¨ããããã§ããã¾ã話é¡ã«ç»ã£ã¦ããªãããã«è¦ããæ°æ©è½ãããã¨ãããæ°å®£è¨ã«ã¤ãã¦èª¿ã¹ã¦ã¿ã¾ãã ã¾ããã®è¨äºæ¸ãã§å¹´è¶ãã¨ã¯ã»ã»ã» 宣è¨ã追å ããã¦ãï¼ JSã®å®£è¨æã¨ããã°ããvarããããªãã£ãã®ã§ããããªãã¨ES6ã«ã¦ããletããconstãã追å ããã¦ããããã§ãã ãã¾ã®ã¨ããã'use strict'ã使ããªãã¨åãã¾ããã§ããã let ã»ã»ã» ãå宣è¨ããä¸å¯ ã¾ãã¯ãletã宣è¨ã§ãã ããã¤ã¯ç«¯çã«ããã¨ããå宣è¨ãã§ããªãã宣è¨ã§ãã ç°¡åãªä¾ã以ä¸ã«ç¤ºãã¦ãã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}