RuboCop ã® LineLength ã®ããã©ã«ãã 80 ã§ã¯ã¤ããã¨ãã声ã¯ãã£ã¨èãã¦ãã¦ããããã RuboCop ã«ããããéãå§ããé ã¯ããã¤ããã®å¤æ´ãããã®ãç®æ¨ã®ã²ã¨ã¤ã ã£ãã
ä»å 3å¹´åè¶ãã«å®ç¾ãããã¨ãã§ãããç¾å¨ã®ææ°çã® RuboCop 0.84.0 ã«é©ç¨æ¸ã¿ã
OSS ã§å¹´æããããç²ãå¼·ãæ¯ãèã㯠kamipo ããããå¦ãã ãã¨ã§ãRangeError
ã«ã¾ã¤ãã rails/rails#30000 ãããã«å°ãã¾ã§ãå«ãã¦ã³ã³ããªãã¥ã¼ã¿æ代ããä½å¹´ãæãã¦ããã¨èãã¦ããã
RuboCop ãªãã¸ããªèªä½ã®æ¹ã§ã¯ããã®å¾ã«ã³ã¢ã¡ã³ãã¼ããã¨ãã£ã¿ã縦åå²ããéã« 120 ã ã¨å³ããã¨ãã声ããããRuboCop ãªãã¸ããªèªä½ã®è¨å®ã¯ 100 ã«ãªã£ãã¨ããã¨ãã½ã¼ãããã (ããã©ã«ãã®è¨å®ã¯ 120 ã§ç¶æããã¦ãã¾ã) ãRuboCop èªä½ãç¡æ°ã«ãããªãã¸ããªã®ã²ã¨ã¤ãªã®ã§ãã¢ã¯ãã£ãã¡ã³ããã¼ãéãããããè¨å®ã«æ©ã¿å¯ã£ãå½¢ã
å®éã®ã¨ãã 80 ãã 120 ã«ãªãã¨ãæ¬æ¥åä»ãããã£ãååã¸ã®çç¥ããæ¬è³ªçã«ä¸å¿
è¦ãªè¡ã®æãè¿ããªãããèãã yak shaving ãªæéãæ¸ãã¨ããå¹è½ãå®æãã¦ããã®ã§ã80 ã§ã¯å³ããã¨æã£ã¦ãã人ã«ã¯è¯ãã®ã§ã¯ã¨æããå¾æ¥ã® 80 ããæ°ã«å
¥ãã®å ´å㯠Layout/LineLength
ã 80 ã«ã»ãããã¦ãã ããã