Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude addon-test-support from eslint node files #7659

Merged
merged 2 commits into from Mar 5, 2018

Conversation

m-basov
Copy link
Contributor

@m-basov m-basov commented Mar 2, 2018

This PR adds addon-test-support folder to excluded files from eslint override for node files.

Fix #7652

This PR adds `addon-test-support` folder to excluded files from eslint override for node files.

Fixes ember-cli#7652
@@ -30,7 +30,8 @@ module.exports = {
excludedFiles: [
'app/**',
'addon/**',
'tests/dummy/app/**'
'tests/dummy/app/**',
'addon-test-support/**'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be added in the same way as the other addon specific overrides (since it doesn't apply to apps at all)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwjblue sorry, not sure if I understood you. This is now inside of if statement blueprint !== 'app' which means it will be not included to apps at all. Please correct me if I am wrong.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DOH! You are totally correct, sorry for not seeing that.

@@ -29,7 +29,8 @@ module.exports = {
excludedFiles: [
'app/**',
'addon/**',
'tests/dummy/app/**'
'tests/dummy/app/**',
'addon-test-support/**'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwjblue there is a change for addon fixtures for yarn and npm blueprints. PR passes current tests suite which means there are no changes to app blueprint. Travis CI failed because of eslint timed out on lib folder check(it has been fixed 18b59f8).
Let me know please if I need to fix something. Thanks.

@@ -30,7 +30,8 @@ module.exports = {
excludedFiles: [
'app/**',
'addon/**',
'tests/dummy/app/**'
'tests/dummy/app/**',
'addon-test-support/**'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DOH! You are totally correct, sorry for not seeing that.

@rwjblue rwjblue merged commit e9a7b58 into ember-cli:master Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants