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

ESLint errors in ember-backstop #29

Open
sharath-sriram opened this issue Jan 23, 2020 · 1 comment
Open

ESLint errors in ember-backstop #29

sharath-sriram opened this issue Jan 23, 2020 · 1 comment

Comments

@sharath-sriram
Copy link
Contributor

Using ESLint on a project with ember-backstop throws lint errors for the following lines:

In ember-backstop/addon-test-support/backstop.js

150:11 error - Unexpected Console Statement (no-console)

In ember-backstop/addon-test-support/index.js

1:1 error Parsing error: 'import' and 'export' may appear only with 'sourceType': "module"

1| import { backstop } from './backstop';
2|
3| export { backstop };

@sharath-sriram
Copy link
Contributor Author

The second error is avoided when the .eslintrc.js file is in place. However, the first error is still prevalent.
Will add a new rule to circumvent it.

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

No branches or pull requests

1 participant