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

Fix: Version 2.3 and above won't work without TypeScript #43

Open
malparty opened this issue Oct 14, 2022 · 0 comments
Open

Fix: Version 2.3 and above won't work without TypeScript #43

malparty opened this issue Oct 14, 2022 · 0 comments
Milestone

Comments

@malparty
Copy link
Member

Issue

In the Rails Templates, most projects do NOT use TypeScript (following the Rails way and using HotWire tools suit (Turbo, Drive and Stimulus).
Currently, we cannot update to the most recent versions of the eslint config because it would force us to add Typescript as a dependency.

Expected

When TypeScript is not used, I should be able to update the eslint config to the latest version.

Maybe a way would be to have a "typescript variant" that inherits from a non-typescript version of the config? Similar to what we do for the React variant? 🤔

Steps to reproduce

  1. Create a new Rails project
  2. Update the Eslint version
  3. Yarn install

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants