Code Monkey home page Code Monkey logo

Comments (5)

kentcdodds avatar kentcdodds commented on May 17, 2024

Hi there! Perhaps documentation could be improved. But there is a CLI linked in the readme, also there are editor plugins as well.

from prettier-eslint.

 avatar commented on May 17, 2024

I had the same issue as @bstro. Are the CLI and editor plugins essential for running prettier-eslint? Can it be run independently? If so how? The example doesn't present an even relatively realistic use case. If not, that should be made clear.

from prettier-eslint.

kentcdodds avatar kentcdodds commented on May 17, 2024

Are the CLI and editor plugins essential for running prettier-eslint?

For most use-cases yes. This package is for programmatically formatting a string of code. If you want to implement it in your project you should look at the CLI and editor plugins. I'm not sure how to make that more clear, but if either of you would like to make a pull request you're definitely welcome to do so.

I'm going to go ahead and close this issue though because I'm unsure how to make things more clear myself. Good luck!

from prettier-eslint.

lucidtheory avatar lucidtheory commented on May 17, 2024

@kentcdodds The docs are a bit confusing because they do not indicate where we are supposed to add the example configs. Is the example config supposed to be added to .prettierrc, or a json file in the root of our app somewhere?

Also how do we run this? Do we just run eslint --fix and it just works?

from prettier-eslint.

zimme avatar zimme commented on May 17, 2024

@esdrasetrenne If you wanna run this on the command line have a look at https://github.com/prettier/prettier-eslint-cli, otherwise you can use it with prettier's vscode/atom integrations.

from prettier-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.