wbyoung/chai-also

View on GitHub
.jscsfilter

Summary

Maintainability
Test Coverage
'use strict';

var _ = require('lodash');

module.exports = function(e) {
  var report = true;
  var isTestFile = _.startsWith(e.filename, './test/');
  if (isTestFile && e.message === 'jsdoc definition required') {
    report = false;
  }
  return report;
};