/**
  * Determins if a given file should be reviewed.
  *
  * @param ReviewableInterface $file
  *
  * @return bool
  */
 public function canReview(ReviewableInterface $file = null)
 {
     if (!$this->checkCommand('scss-lint')) {
         return false;
     }
     return parent::canReview($file) && $file->getExtension() === 'scss';
 }
 /**
  * Determins if a given file should be reviewed.
  *
  * @param ReviewableInterface $file
  *
  * @return bool
  */
 public function canReview(ReviewableInterface $file = null)
 {
     return parent::canReview($file) && $file->getExtension() === 'json';
 }
 /**
  * Determins if a given file should be reviewed.
  *
  * @param ReviewableInterface $file
  *
  * @return bool
  */
 public function canReview(ReviewableInterface $file = null)
 {
     // check to see if the mime-type starts with 'text'
     return parent::canReview($file) && substr($file->getMimeType(), 0, 4) === 'text';
 }
 /**
  * Determins if a given file should be reviewed.
  *
  * @param ReviewableInterface $file
  *
  * @return bool
  */
 public function canReview(ReviewableInterface $file = null)
 {
     return parent::canReview($file) && $file->getExtension() === 'js' && strpos($file->getName(), '.min.js') === false && $this->checkCommand('eslint');
 }