Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick question, does this library can work in Angular webapps? #908

Closed
dani-oropeza-nic opened this issue Nov 21, 2022 · 3 comments
Closed
Labels

Comments

@dani-oropeza-nic
Copy link

dani-oropeza-nic commented Nov 21, 2022

I would like to know if this library can work in Angular web applications. I saw in the description that is says that is for React apps. But it does not says explicit that It does not work for Angular.

If naturally it does not work for Angular webapps, is there a way to integrate this anyway and use the same rules to a certain extend? I was investigatin the other days about technologies for accessibility eslint rules for Angular, but I haven't seen good libraries.

@ljharb
Copy link
Member

ljharb commented Nov 21, 2022

I suppose it could if it uses jsx, which i didn’t think angular does, but it’s definitely only intended for react. You’d have to try it and see, but it’s unlikely we’d make any changes for angular compatibility.

@dani-oropeza-nic
Copy link
Author

Didn't you have any previous experience with a user who wanted to use it in Angular? I did all the configuration according to the documentation, but it doesn't detect the rules. I think I am missing to configure something on the Angular side. Has anyone had experience with this?

@ljharb
Copy link
Member

ljharb commented Nov 21, 2022

No, none. My understanding is that angular doesn’t use jsx at all, so I’d be surprised if anyone had attempted it.

@ljharb ljharb added the question label Jan 9, 2023
@ljharb ljharb closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants