Skip to content

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

Open
@malparty

Description

@malparty

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions