Git Product home page Git Product logo

Comments (7)

nathanshelly avatar nathanshelly commented on May 28, 2024 2

@LifeIsStrange the monorepo you linked to explains how to configure your .eslintrc.json to lint typescript files. coc-eslint should work regardless of whatever configuration (whether it's typescript or javascript) you have.

from coc-eslint.

fannheyward avatar fannheyward commented on May 28, 2024 1

Yes, add ts to eslint.filetypes to enable for ts.

from coc-eslint.

LifeIsStrange avatar LifeIsStrange commented on May 28, 2024 1

@fannheyward Thank you for the fast response, but I strongly believe that it should be added by default.

from coc-eslint.

nathanshelly avatar nathanshelly commented on May 28, 2024 1

@nathanshelly thank you! (but your example is a deadlink (404 error))

@LifeIsStrange whoops my bad, didn't think about it being a private repo 🤦‍♂, glad all your questions are answered 😄

Also would like to express my agreement with adding ts to eslint.filetypes by default, definitely think it would be a nicer default experience.

from coc-eslint.

LifeIsStrange avatar LifeIsStrange commented on May 28, 2024

Also how does this relate to https://github.com/typescript-eslint/typescript-eslint ?

from coc-eslint.

chemzqm avatar chemzqm commented on May 28, 2024

Also how does this relate to https://github.com/typescript-eslint/typescript-eslint ?

Nothing.

from coc-eslint.

LifeIsStrange avatar LifeIsStrange commented on May 28, 2024

@nathanshelly thank you! (but your example is a deadlink (404 error))

You answered all my questions, I guess this issue can be closed once you decide if you add ts to eslint.filetypes by default.

from coc-eslint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.