Code Monkey home page Code Monkey logo

Comments (7)

sarbbottam avatar sarbbottam commented on July 19, 2024 1

--diff | -d could be the option.

  • eslint-rule-finder -d path/to/file-a path/to/file-b
  • must provide two files?
  • how the output should look like?

from eslint-find-rules.

ta2edchimp avatar ta2edchimp commented on July 19, 2024

how the output should look like?

Thought of using cli-table2 and printing the used configs like JSON.stringify. One rule per row.

from eslint-find-rules.

sarbbottam avatar sarbbottam commented on July 19, 2024

just came across cliui, might be helpful.

from eslint-find-rules.

ta2edchimp avatar ta2edchimp commented on July 19, 2024

Awesome! I fiddled around with that cli-table2 today and it just did not do the job as I'd have liked it to (too much to be done for the desired result).

Nice finding!

from eslint-find-rules.

ta2edchimp avatar ta2edchimp commented on July 19, 2024

I'd rather thought of showing the actual differences of the compared configs.
There's little value in a pure list, I'd have to dig deep into the configs to see where they actually differ.

I'm reopening this and reassigning this to myself.

If you guys think, that displaying the actual differences would be too verbose, please share your thoughts, we could hide it behind a corresponding loglevel option (re #7).

from eslint-find-rules.

sarbbottam avatar sarbbottam commented on July 19, 2024

@ta2edchimp doc you think we can close this issue?

from eslint-find-rules.

ta2edchimp avatar ta2edchimp commented on July 19, 2024

Absolutely.

from eslint-find-rules.

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.