Comments (1)
Appending "\n" was added when jsbeautify didn't supported eol for file of kind js. So had to implement it in this plugin. And it can enable or disable by '''--end-with-newline''' parameter. Caveat I see here is only not using '''eol''' instead of "\n" which was again because eol was added by jsbeautify way later this feature was developed.
I would love the PR for this if you get this working with backward compatibility, remember plugin does support using diff version of "jsbeautify" as per user requirement
from grunt-jsbeautifier.
Related Issues (20)
- Ignoring embedded script tags (html) HOT 3
- run jsBeautifier on single file HOT 6
- Update js-beautify HOT 1
- Breaks on formatting mixins HOT 2
- Update to latest version of jsbeautify HOT 1
- Non-UNIX line endings causes verification to fail HOT 9
- JS: End with newline HOT 2
- bracestyle expand causing odd formatting with JSON objects HOT 1
- use jsbeautifier format the string which concatenation with "\" have one bug? HOT 1
- option.dest output folder too
- js-beautify version HOT 1
- Hangs on missing HTML files HOT 2
- Config file HOT 4
- JsBeautifier silently finish all grunt task when no source HOT 2
- Grunt 1.0.x support HOT 6
- Only modify file when it is not well-formatted HOT 2
- Improve documentation HOT 2
- bug(config): grunt-jsbeautifier doesn't support .jsbeautifyrc HOT 1
- bug(options): wrapLineLength: 0 not by default HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-jsbeautifier.