ember-cli / ember-cli/eslint-plugin-ember

Do not apply new-module-imports rule to an addon's app folder

Open
#190 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
263
Forks
214
Avg merge
30m
Merged PRs (30d)
5

Description

When updating addons to use the new modules syntax we have to avoid updating any files in the addon's `app/` directory since that is transpiled by the addon's consuming app which may not have an up-to-date version of ember-cli-babel. With this addon installed though eslint will fail any files in the app directory that violate this rule. I added a one file exception to the affected file in my addon for now, but I'm not sure if there's a better way to handle this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.