Giter VIP home page Giter VIP logo

Comments (13)

eriknyk avatar eriknyk commented on May 17, 2024

+1

from xo.

jamestalmage avatar jamestalmage commented on May 17, 2024

I think this could be useful. Is there ever a scenario where you would want to lint .gitignored files?

from xo.

sholladay avatar sholladay commented on May 17, 2024

Amen. I really dislike duplicating my build and report (etc) directories in xo.ignore in package.json, when they are already specified in .gitignore. There is existing precedent for looking there as the Single Source of Truth for such things. For example, npm consults .gitignore for the npm pack procedure, which is in turn used by npm publish and friends.

If XO automatically ignores .gitignore patterns, it will keep our configuration DRY and make projects easier to maintain.

from xo.

vadimdemedes avatar vadimdemedes commented on May 17, 2024

I like this idea too, looks totally reasonable.

from xo.

sindresorhus avatar sindresorhus commented on May 17, 2024

Yup, totally, just needs someone willing to do the work. I haven't had time yet.

from xo.

jamestalmage avatar jamestalmage commented on May 17, 2024

Possibly helpful: https://github.com/jonschlinkert/parse-gitignore

from xo.

sholladay avatar sholladay commented on May 17, 2024

$40 bounty because ❤️. xoxo

from xo.

juanj avatar juanj commented on May 17, 2024

I can help with this.

from xo.

shadiakiki1986 avatar shadiakiki1986 commented on May 17, 2024

Oops I didn't pay attention that @juanj was also fixing this. :D well... I made my PR anyway

from xo.

sindresorhus avatar sindresorhus commented on May 17, 2024

Thanks for the bounty @sholladay. You can award it to @juanj :)

from xo.

shadiakiki1986 avatar shadiakiki1986 commented on May 17, 2024

Thanks @juanj for your efforts. I'm very happy that this issue was solved. I just want to vent that I don't think this was completely fair play. Except for the '''nested .gitignores''' and '''cwd option''' requests, my single commit which was made on Sept 30 already had the same code and tests as @juanj 's 17 commits which spanned from Sept 30 to Oct 11. I believe that at least a mention by @juanj is in order about copying the tests from my PR. But again, this isn't really about ownership of code nor about distribution of bounties as it is about collaboration. I'm just happy this got solved anyway. Now I'm ready to take all your arrows on me like this :) lol and cheers

from xo.

sholladay avatar sholladay commented on May 17, 2024

Hi @shadiakiki1986, I hear you. And I appreciate your work. The purpose of my bounty was to contribute to the community and to encourage people like you to do so, too. I don't want that message to get lost. I will try to find a way to reward you, too. It may take me a few days to get around to it. Likely I will cc you on another issue and award a higher bounty for that then I otherwise would have, while making it obvious it should go to you. Again, thanks for your time.

from xo.

juanj avatar juanj commented on May 17, 2024

Hey @shadiakiki1986 sorry if I didn't give you credit for that. But I don't copy your test's I just make a copy of one of the existing test and adapt it to test what we need. In the end it result in a very similar test.
Anyway, wish you luck in the next bounty!

from xo.

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.