Comments (4)
For visibility and cross-referencing decisions on how to move forward consistently, I've filed a similar issue for eslint-plugin-ember: ember-cli/eslint-plugin-ember#1950
from ember-template-lint.
Thanks for the proposal.
I generally do not agree with removing rules from the recommended config just because they are targeting old Ember versions.
I'd prefer that we keep rules in the recommended
config unless they are incompatible with modern Ember and it's not possible to make them compatible. Oftentimes, we can update a rule with a simple fix or heuristic in order to ensure cross-version compatibility. But in my experience, incompatibilities are rare, and most rules targeting old Ember versions do not cause any issues.
In addition, needlessly removing rules from the config causes churn when there's little or no cost to continuing to include them. Something that does have a cost (in terms of maintenance burden and reduced ease-of-use) is adding additional configs.
And while we don't technically need to support users on Ember 3 anymore, I'm happy to continue supporting them if the cost is minimal. Especially when most of these older rules are simply about detecting deprecated patterns that aren't supported anymore but could easily pop-up when copy-pasting in code from an old article or codebase or receiving a suggestion from an AI copilot, etc.
So what I would recommend is:
- Identify the complete list of recommended rules that are incompatible with modern Ember. I only see
no-implicit-this
mentioned regarding this. - Determine if incompatible rules can be made compatible (e.g. become a no-op if they aren't relevant anymore).
- If there are truly incompatible rules that cannot be updated to co-exist across Ember versions, remove these from the recommended config as a breaking change in a major release.
from ember-template-lint.
FYI, the unbound
helper was never deprecated nor removed, so I think the no-unbound rule is still relevant.
from ember-template-lint.
FYI, the
unbound
helper was never deprecated nor removed, so I think the no-unbound rule is still relevant.
Good catch. I saw it was marked deprecated in Ember 1.x, but I guess they never got around to removing it...
from ember-template-lint.
Related Issues (20)
- attributes is not iterable error when using aria-query 5.2.1
- no-obscure-array-access fix is incorrect with modifier usage
- Idea for a new rule: No target="_blank" for LinkTo
- no-obscure-array-access fix can duplicate lines
- Simple-unless Reports Same Value for Start and End Location
- Incorrect no-redundant-role on img HOT 5
- Improve builtin-component-arguments rule to lint against "radio" inputs HOT 1
- ARIA-compliant disabled link communication raises errors on default config
- allow no-invalid-link-text to be configured for custom link component names
- New rule: no-jsx-attributes
- New rule: No chaining `this` to itself HOT 2
- [no-action-on-submit-button] Do not handle `<form method="dialog">`
- Autofix of block-indentation crash
- require-input-label false positive HOT 3
- Revamped gjs/gts support HOT 2
- [gjs]: no-unknown-arguments-for-builtin-components incorrectly assumes an `<Input>` is the ember `<Input>`
- [gjs]: require-input-label incorrectly assumes an `<Input>` is the ember `<Input>`
- Migrate off Jest HOT 3
- no-black-params-for-html-elements failes with dot-separated angle bracket invocation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-template-lint.