Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
fix(generator): include mocha ruleset for ESLint when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Dec 8, 2018
1 parent d1b3f8d commit d07735e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/generator/generators/eslint/templates/eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ module.exports = {

extends: [
'@strv/javascript/environments/nodejs/v10',
'@strv/javascript/environments/nodejs/optional',
'@strv/javascript/environments/nodejs/optional',<%_ if (config.testsuite) { %>
'@strv/javascript/environments/mocha/recommended',<%_ } %>
'@strv/javascript/coding-styles/recommended',
],

Expand Down

0 comments on commit d07735e

Please sign in to comment.