Coder Social home page Coder Social logo

review / plugin advice about gulp-rte HOT 5 CLOSED

jonschlinkert avatar jonschlinkert commented on June 17, 2024
review / plugin advice

from gulp-rte.

Comments (5)

sindresorhus avatar sindresorhus commented on June 17, 2024
  1. Totally ok. It's different enough. The blacklist isn't meant to limit innovation, rather reduce blatant duplication and non-compliant plugins.
  2. cb(null, file);
    You should this.push(file), not add it in the callback. See the through2 docs.

OT to your question, but I personally find the :dirname:basename syntax a bit awkward. It's not apparently clear that they're two different vars. If I were to use it would have preferred:
{dirname}{basename}.

// @contra

from gulp-rte.

jonschlinkert avatar jonschlinkert commented on June 17, 2024

thanks so much for the feedback!

The blacklist isn't meant to limit innovation

oh sure, I didn't view it as punitive. I think the guidelines and blacklist are good. I'm just not familiar enough with the conventions to have a reliable opinion.

You should this.push(file)

ahh yes of course... that makes sense, thank you

I personally find the :dirname:basename syntax a bit awkward

it can technically do either. I just didn't expose the option to change the syntax. I'll see if others like that syntax as well

thanks a lot for the feedback, really appreciate it!

from gulp-rte.

stephenlacy avatar stephenlacy commented on June 17, 2024

I also find the :dirname:basename odd compared to other plugins.

from gulp-rte.

jonschlinkert avatar jonschlinkert commented on June 17, 2024

supposed to have slashes between path segments, e.g. :dirname/:basename.

to each his own I suppose (https://github.com/jonschlinkert/gulp-rte/blob/master/test/test.js#L162-L172). I'm curious what "odd compared to other plugins." means though, are there other plugins doing this or anything similar already? seems like I see it more than {a} (e.g. express, assemble, metalsmith come to mind).

thanks guys, I think you answered my questions!

from gulp-rte.

stephenlacy avatar stephenlacy commented on June 17, 2024

Odd referring to other gulp-plugins.

from gulp-rte.

Related Issues (1)

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.