
describe('Linters', function() {
  // JSCS
  require('mocha-jscs')();

  // ESlint
  require('mocha-eslint')([
    'controllers',
    'middlewares',
    'models',
    'tests',
    'index.js'
  ]);
});


describe('Linters', function() {
  const paths = [
    'controllers',
    'middlewares',
    'models',
    'tests',
    'index.js'
  ];

  // JSCS
  require('mocha-jscs')(paths);

  // ESlint
  require('mocha-eslint')(paths);
});

Set paths to be checked by jscs linter
Set paths to be checked by jscs linter
