Comments (1)
For all TypeScript functions, this could work somewhat reliably by checking the @developerPreview
JSDoc tags, assuming that Angular consistently sets this JSDoc tag on their features which are in developer preview. This would work in a generic way. Though I can imagine this could be costly operations with performance implications.
However there might be functionality in developer preview which isn't used in TypeScript context, such as Control flow, experimental builders, experimental test runners, ... For this kind of functionality, IMHO it doesn't make sense to implement such a rule, as it needs to be implemented and kept up-to-date manually.
Would you be fine with a solution which exclusively works for TypeScript?
from angular-eslint.
Related Issues (20)
- [prefer-signals] add rule for prefer signals instead of BehaviorSubject HOT 3
- Angular eslint template rules don't apply to inline templates inside blocks
- Can't update to Angular 18 HOT 5
- [@angular-eslint/template/i18n] New lint rule suggestion: i18n rule should also lint $localize usage in components
- eslint v9 support HOT 1
- @angular-eslint v18 requires typescript-eslint v8 but not v7 HOT 9
- [prefer-self-closing-tags] <app-root /> conflicts with angular-cli build HOT 3
- [@angular-eslint/schematics] Also provide ESModule syntax (in addition to commonJS) HOT 2
- [@angular-eslint/no-input-rename] Reports false error when using transform with function which accept 2 parameters
- ng lint fails for new workspace created with Angular CLI and flat-config HOT 2
- [directive-selector] / [component-selector] False negative when prefix is undefined and style doesn't matches
- [prefer-output-readonly] support output() function
- [eqeqeq] error after update to v18 HOT 1
- Question on how the parser finds html files HOT 1
- Can't turn off @angular-eslint/template rules HOT 1
- receiver of Call expression is skipped during AST traversal HOT 1
- Updating to @angular-eslint/builder@npm:17.4.1 hangs linting if having .nx.json file HOT 5
- [no-misused-signals] restrict incorrect usage of signals - proposal HOT 1
- [prefer-input/output/model/view-child/content-child-readonly] rule proposal HOT 4
- angular-eslint cannot be used with typescript-eslint@^7 HOT 2
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 angular-eslint.