From d3d90a77fbd3d51215a4e6a060c4950f5f208d9b Mon Sep 17 00:00:00 2001 From: Matthew Beale Date: Tue, 2 Jan 2018 15:15:25 -0800 Subject: [PATCH] [BUGFIX release] Dummy app files follow Ember rules (cherry picked from commit 422baa888f8b79481014416aff60678ab76c842b) --- blueprints/app/files/.eslintrc.js | 3 ++- tests/fixtures/addon/npm/.eslintrc.js | 3 ++- tests/fixtures/addon/yarn/.eslintrc.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/blueprints/app/files/.eslintrc.js b/blueprints/app/files/.eslintrc.js index 9a0b8badb5..f89e280507 100644 --- a/blueprints/app/files/.eslintrc.js +++ b/blueprints/app/files/.eslintrc.js @@ -28,7 +28,8 @@ module.exports = { ],<% if (blueprint !== 'app') { %> excludedFiles: [ 'app/**', - 'addon/**' + 'addon/**', + 'tests/dummy/app/**' ],<% } %> parserOptions: { sourceType: 'script', diff --git a/tests/fixtures/addon/npm/.eslintrc.js b/tests/fixtures/addon/npm/.eslintrc.js index 1c65e6db0a..3a07c6bcc1 100644 --- a/tests/fixtures/addon/npm/.eslintrc.js +++ b/tests/fixtures/addon/npm/.eslintrc.js @@ -28,7 +28,8 @@ module.exports = { ], excludedFiles: [ 'app/**', - 'addon/**' + 'addon/**', + 'tests/dummy/app/**' ], parserOptions: { sourceType: 'script', diff --git a/tests/fixtures/addon/yarn/.eslintrc.js b/tests/fixtures/addon/yarn/.eslintrc.js index 1c65e6db0a..3a07c6bcc1 100644 --- a/tests/fixtures/addon/yarn/.eslintrc.js +++ b/tests/fixtures/addon/yarn/.eslintrc.js @@ -28,7 +28,8 @@ module.exports = { ], excludedFiles: [ 'app/**', - 'addon/**' + 'addon/**', + 'tests/dummy/app/**' ], parserOptions: { sourceType: 'script',