Skip to content

Typescript Beta #68

@wesbos

Description

@wesbos

Okay, I've put together a beta for typescript support.

I've run it through a few projects, but likely haven't hit every issue so I'm looking for testers. Both for errors as well as suggestions on rules. It's mostly based on my own existing eslint as well as airbnb's typescript rules.

to run:

  1. In a project with package.json, run npx install-peerdeps --dev [email protected]
  2. In your package.json add this:
  "eslintConfig": {
    "extends": "wesbos/typescript.js"
  },
  1. I needed to create an empty tsconfig.json in the root for it to work.

Then the rest of the steps for VS code or CLI will work.

let me know what you think / run into!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions