Giter Site home page Giter Site logo

Comments (1)

nfour avatar nfour commented on June 22, 2024

The second example, from what I've learned, should work well - although - overrides may be necessary due to all of the extending that happens with all of these config libraries. If you configure the use of the tsconfig inside the eslint config, and within that allowJs, my understanding is that the latest version of eslint (7+) should utilize those file extensions without having to provide them.

For the first issue, you're right that prettier overrides eslint standard.

For example

// eslint-disable-next-line prettier/prettier
    get pic () {

The above ill allow the space after the function method name in practice.

I've not gone into how to resolve this because I'm interested in having everything autofix in a deterministic way, which it luckily still does in spite of the conflicts.

If you find out how to configure standard with prettier without awkward dependency stuff that might be nice.

My understanding is that the upsteam eslint config schema is undergoing a significant breaking change refactor so we also may wish to wait for that.

from eslint-config-standard-typescript-prettier.

Related Issues (7)

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.