-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Steps to repro:
- Install addon for your project with
ember install ember-cli-workbox. - Ensure you have valid
.eslintrc.jsin project root. - Either run
ember sorember build.
Environment
- Docker image
node:10-slim ember-cli@3.10.1ember-cli-eslint@5.1.0ember-source@3.10.1eslint@5.16.0eslint-plugin-ember@6.5.1broccoli-lint-eslint@5.0.0
Using Yarn workspaces: https://yarnpkg.com/en/docs/workspaces
Result:
Build Error (broccoli-persistent-filter:EslintValidationFilter) in app/instance-initializers/sw.js
No ESLint configuration found.
Workaround 1:
Disable hinting in your project's ember-cli-build.js:
app = new EmberApp(defaults, {
hinting: false,
...
})
Workaround 2:
Add the following path to .eslintignore in project's root directory:
ember-cli-workbox/
PS
Production build works out of the box as it should.
Metadata
Metadata
Assignees
Labels
No labels