GithubHelp home page GithubHelp logo

c('e2e') about camelcase HOT 8 CLOSED

sindresorhus avatar sindresorhus commented on May 21, 2024
c('e2e')

from camelcase.

Comments (8)

dazip avatar dazip commented on May 21, 2024

The new behavior is consistent with lodash.camelcase

The old behavior is consistent with case.camel

from camelcase.

sindresorhus avatar sindresorhus commented on May 21, 2024

Not really sure which one is the most appropriate. I'm leaning towards e2E.

// @DanielSeehausen @eladb @Qix-

from camelcase.

Qix- avatar Qix- commented on May 21, 2024

Yep agreed.

from camelcase.

eladb avatar eladb commented on May 21, 2024

golly... so many edge cases. Is this a unique case because after the number there’s only a single character?

from camelcase.

dazip avatar dazip commented on May 21, 2024

Same would apply for any number of characters after the numeric. Please consider whether it would be appropriate to revert to 5.2.0 behavior in 5.x.x and bump to 6.0.0 for 5.3.0/5.3.1 changes.

from camelcase.

sindresorhus avatar sindresorhus commented on May 21, 2024

Alright, let's keep the current behavior.

from camelcase.

sindresorhus avatar sindresorhus commented on May 21, 2024

Please consider whether it would be appropriate to revert to 5.2.0 behavior in 5.x.x

That would be a breaking change for people depending on the new behavior, so not going to happen. Better to just leave it like this.

from camelcase.

DanielSeehausen avatar DanielSeehausen commented on May 21, 2024

sorry for late reply -- just seeing this! (let me fix my notification settings now)
e2E would also be my vote, as numbers should act as delimiters in camel casing!
seems to follow the original intent of the code as well, and know lodash has been mentioned as a north star here.

from camelcase.

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.