Giter VIP home page Giter VIP logo

Comments (14)

vkadam avatar vkadam commented on September 3, 2024

Please take a look at https://github.com/vkadam/grunt-jsbeautifier/blob/master/README.md#optionsconfig-optional

from grunt-jsbeautifier.

vkadam avatar vkadam commented on September 3, 2024

If you are taking about using .jsbeautifyrc if available without specifying in task, then I need to think about it. For now it needs to be specified in task.

from grunt-jsbeautifier.

framerate avatar framerate commented on September 3, 2024

I would prefer it as a fallback, but the task config should work. I want aware that we just called it "config" as I'm new to jsbeautify. I'll play with that setting tomorrow :)

Thanks!

Sent from Mailbox for iPad

On Fri, Jan 3, 2014 at 11:54 PM, Vishal Kadam [email protected]
wrote:

If you are taking about using .jsbeautifyrc if available without specifying in task, then I need to think about it. For now it needs to be specified in task.

Reply to this email directly or view it on GitHub:
#28 (comment)

from grunt-jsbeautifier.

vkadam avatar vkadam commented on September 3, 2024

I am planning to support "jsbeautifyrc" similar to https://github.com/gruntjs/grunt-contrib-jshint#jshintrc, I will keep "config" options for backward compatibility. Following will be supported values for jsbeautifyrc/config option.

{
    false: Config will not be loaded from any file (Default value)
    "path/to/file": Read all config from specified file. (Currently supported by "config" option)
    true: Read .jsbeautifyrc from same folder for each file currently being beautified.
}

from grunt-jsbeautifier.

framerate avatar framerate commented on September 3, 2024

This is great. I think grunt-contrib-jshint does it perfectly! Great news!

from grunt-jsbeautifier.

lemieux avatar lemieux commented on September 3, 2024

Should this be closed?

from grunt-jsbeautifier.

vkadam avatar vkadam commented on September 3, 2024

Not yet, I haven't yet published this one. There are some scenarios I need to cover.

from grunt-jsbeautifier.

lemieux avatar lemieux commented on September 3, 2024

Oh, my bad! I saw that in master and thought it was released. Is master stable enough for "production" then?

from grunt-jsbeautifier.

lemieux avatar lemieux commented on September 3, 2024

From what I can see in the code, the feature is in the README but not implemented, am I right?

from grunt-jsbeautifier.

vkadam avatar vkadam commented on September 3, 2024

yeap.. Yet to implement it.

from grunt-jsbeautifier.

lemieux avatar lemieux commented on September 3, 2024

Alright thanks!

from grunt-jsbeautifier.

lzilioli avatar lzilioli commented on September 3, 2024

What is the status of this issue?

from grunt-jsbeautifier.

vkadam avatar vkadam commented on September 3, 2024

I have just completed the development of it. I too a slight different approach than discussed prior. Simple rule is if ".jsbeautifierrc" file exists use it instead of setting config value to true. See this commit.

from grunt-jsbeautifier.

vkadam avatar vkadam commented on September 3, 2024

Release 0.2.8 published

from grunt-jsbeautifier.

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.