Skip to content

Commit

Permalink
add server/**/*.js to eslint node files for app
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed Dec 4, 2018
1 parent 5955cf5 commit 0c65c16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion blueprints/app/files/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ module.exports = {
'testem.js',
'blueprints/*/index.js',
'config/**/*.js'<% if (blueprint === 'app') { %>,
'lib/*/index.js'<% } %><% if (blueprint !== 'app') { %>,
'lib/*/index.js',
'server/**/*.js'<% } else { %>,
'tests/dummy/config/**/*.js'<% } %>
],<% if (blueprint !== 'app') { %>
excludedFiles: [
Expand Down
3 changes: 2 additions & 1 deletion tests/fixtures/app/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ module.exports = {
'testem.js',
'blueprints/*/index.js',
'config/**/*.js',
'lib/*/index.js'
'lib/*/index.js',
'server/**/*.js'
],
parserOptions: {
sourceType: 'script',
Expand Down

0 comments on commit 0c65c16

Please sign in to comment.