1人ã§ããã³ã¼ããæ¸ã
1人ã§ããã³ã¼ããæ¸ãã®ã¯ã3人ã§ããã³ã¼ããæ¸ããã¨ã®3åé£ãããæªãã³ã¼ããæ¸ãã¨ãã«èª¬å¾ãã人éã 1/3 ã§ããã®ã§ãã¤ã¾ãèªåã«åãã£ã¦ãã¾ããããããä»åã¯ãã¨è¨ãã°äºãæ¸ããç¶ãã¦ããã¨ãã¤ã®éã«ãå¼ãè¿ããªãã¨ããã¾ã§ãã¦ãã¦ãé©å½ã«æ¸ããå人ããã¸ã§ã¯ãã¯è¨è¨çç ´ç¶»ãèµ·ãããã³ã¼ãã£ã³ã°è¦ç´ããªã«ããã£ããããããªãã¨ããç ´æ» ãå¾ ã£ã¦ããã
ã¨ãããã¨ã§ã1人ã§ããã³ã¼ããæ¸ãããã«ãä»å㯠Rails ãããã¯ãã1人ã§æ¸ãã¨ãã¦ã
rubocop
ã³ã¼ãã£ã³ã°è¦ç´ã¨ããã¾ãã«é·ãããã¡ã½ããããã¾ãã«é·ãã¯ã©ã¹å®ç¾©ãªã©ãè¦ã¤ãã¦ããããå ¨ã¦ã«å¾ãã¨å³ãããã¦æ»ã¬ã®ã§ãé©å®åãã§ãã«ãç¡å¹ã«ããã®ãããã
åã¯ãããªæãã®è¨å®ã§ä½¿ã£ã¦ããã
AllCops: Includes: - Rakefile - Gemfile - config.ru Excludes: - bin/* - lib/monkey_patches/* - db/schema.rb RunRailsCops: true Documentation: Enabled: false LineLength: Max: 127 ClassAndModuleChildren: Enabled: false
ããã§ä¸æ¦ãã³ã¼ãã£ã³ã°è¦ç´ã¯å¾ãããã
code_hunter
å ¨èªåã¢ãã«ã³ã¨ããç»æçãªãããã¯ãã§ããæã® code_hunter ã使ãã
ãããåãã§ãã«ã®è¨å®ãæ¸ããã¨ã§é©å®ç¡å¹ã«åºæ¥ãã
scss-lint
scss-lint app/assets/stylesheets
ã§å®è¡ãã¦ã¨ã«ããä½åº¦ãç¹°ãè¿ãã¿ãã
ãããªã«å³ãããã§ãã«ã§ã¯ãªãã®ã§ãç¸å½å¤ãªãã¨ããã¦ãªãéãã¯ã©ããããªãã
coffeelint.rb
coffeelint.rb app/assets/javascripts/**/*.coffee
ã§å®è¡ããã
ããããããªã«å³ãããªãã®ã§ä½åº¦ãããã
ãã£ãããããã
ãã¾ãããããã¨è¨ãã®ã¯ã¨ã«ãã楽ã§ããããã§ãè¨ãããã©ããã®å¾ããã£ã±ãããªãã¨ãã¨è¨ãã®ã¯é£ããããªã®ã§æ©æ¢°ã«ãã£ãããè²°ããæ©æ¢°ã«è¨ããã¦ç´ãã¦ããéä¸ã§ããããã£ã±ããã¡ãã£ã¨ãã¡ã ãªãã¨ãæãç´ãããæãç´ãããå³ããã¨ããã