Questions tagged [grunt-jsbeautifier]
4 questions
2
votes
1 answer
How can we fail a build job if JSBeautifier in Grunt needs to format a file?
Usually certain Grunt tasks have the option to "fail on warning", making it possible to put it as a step in your build process.
I am looking at JSBeautifier but it seems like there is no option.
Any suggestions on how we can make our build fail, if…

corgrath
- 11,673
- 15
- 68
- 99
1
vote
1 answer
jsbeautifier and ejs compatibility
I am trying to use jsbeautifier to beautify my code and the main templating language I use is EJS. Perhaps I am mistaken but it doesn't seem to be that ejs is fully supported.
I am using this grunt plugin:…

raydeneg
- 35
- 3
1
vote
1 answer
jshint conflicting with jsbeautifier and complaining about indentation of square bracket in array
I have a jsbeautifer followed by a jshint task in my Gruntfile, but they seem to have different ideas about where my closing braces should be.
I agree with what jsbeautifer produces, but jshint complains. Here is a sample file I have and the error…

user1027169
- 2,627
- 3
- 27
- 50
0
votes
0 answers
merge two xml using grunt
how to merge two xml files using grunt.
I need to merge two xml files
A.xml
numberone
B.xml
numbertwo
after merging the xml will be…

Ramasubramaniam R
- 93
- 1
- 2
- 9