Coder Social home page Coder Social logo

Comments (7)

hildjj avatar hildjj commented on June 27, 2024 1

I think this is likely a bug. Will look at it.

from editorconfig-core-js.

hildjj avatar hildjj commented on June 27, 2024 1

Wow. The tests are explicitly wrong.

https://github.com/editorconfig/editorconfig-core-test/blob/5ca0b296dc31124d0303895c163013450bd97958/filetree/CMakeLists.txt#L94

from editorconfig-core-js.

hildjj avatar hildjj commented on June 27, 2024 1

And yes, I've read both threads, and found that dumb :-(

Same here. Anyway, I'm going to land this "fix" for you, and push out 2.0.

from editorconfig-core-js.

hildjj avatar hildjj commented on June 27, 2024

editorconfig/editorconfig-core-test#12

from editorconfig-core-js.

hildjj avatar hildjj commented on June 27, 2024

OK, I can do a couple of things:

  • Give an unset() function that goes through the resulting property object removing anything with the value "unset"
  • Add an unset property to ParseOptions that will call unset automatically at the end of processing
  • Add a --unset flag to the CLI to set that property

I don't think I can make it the default, since "plugins" are supposed to be processing "unset"'s, according to the core devs.

Reactions?

from editorconfig-core-js.

piranna avatar piranna commented on June 27, 2024

Si, it's intended that unseted values have a values of unset instead of undefined, and I need to process unset values on my Code at application level, isn't It?

from editorconfig-core-js.

piranna avatar piranna commented on June 27, 2024

And yes, I've read both threads, and found that dumb :-(

from editorconfig-core-js.

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.