js-beautify icon indicating copy to clipboard operation
js-beautify copied to clipboard

Beautifier for javascript

Results 179 js-beautify issues
Sort by recently updated
recently updated
newest added

# Description As I can see from other issues and requests here, the requirements for adding/removing line breaks before/after HTML comments are quite versatile. I for example, I wish there...

# Description Currently, when I import js-beautifier to an ES module using an `import` statement and then log the object to the console, here's what I see: ``` import *...

type: enhancement
type: task
implementation: javascript

Bumps [editorconfig](https://github.com/editorconfig/editorconfig-core-js) from 1.0.3 to 2.0.0. Release notes Sourced from editorconfig's releases. Bug fixes. Requires node >=16 Breaking: Now requires Node v16+ Enable extended globbing from minimatch. This means that...

dependencies
javascript

Expect this: ```js var a = 1; // comment1 var bb = 22; // comment2 ``` But got this: ```js var a = 1; // comment1 var bb = 22;...

type: enhancement
implementation: javascript

@einars @bitwiseman Not trying to ask for work to be done here, but are there a few sentences somewhere that explain the basic approach the project uses to solve the...

documentation

# Description # Input I've encountered an issue with js-beautify where it incorrectly formats the code when an object literal follows an array declaration without a semicolon. Here's an example...

Cross-site scripting is possible with the following code. **Payload**: eval(function(p,a,c,k,e,r){}((function(){alert('XSS')})(),''.split('|'),0,{})) Observation: This is not my research and I did not found any issue related to this topic.

type: enhancement
type: security

# Description js-beautify makes code looks good and it has many features. But while using it, it will be good feature that add validation feature. I think add `validate` func...

type: discussion

# Description Formatting media queries with a range context doesn't result in the expected spaces before and after range operators. # Input The code looked like this before beautification: ```css...

type: bug
language: css

# Description - [X] Source branch in your fork has meaningful name (not `main`) Hello there! I recently discovered an interesting piece of apparent javascript code that I wanted to...