ember-cli / ember-cli/ember-cli-deprecation-workflow

Idea: Instead of scanning for deprecation messages, pre-specifiy regexes for all known deprecations

Open
#22 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
166
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I noticed when I did my initial run-through that there were many duplications of the sort "you tried to access property 'x' but you should have used 'model.x'"

So I went through and collapsed them into regexes, problem solved. It occurred to me there are a finite number of possible deprecations, so maybe it would be easier to just put all those regexes in a file and copy that into config instead. No console copy-paste, covers everything by default, less likely to have new things crop up later.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.