Comments (3)
we will add more options about how the empty lines will be handled, allowing to keep/add/remove/limit the amount (see #1).
On my own code I've been using 2-3 lines to split each method and 1 line inside the function body to split rules by proximity, see hooks.js that helps me a lot to navigate the files on Vim (pressing {
and }
jumps to next/prev empty line) and I also thinks it helps on the readability (large paragraphs are harder to read).
from esformatter.
Just a guess: Does the 1
mean true
? (I though it means: Keep 1 line, and remove all additional lines)
PS: Okay, after looking at #1 I understand.
from esformatter.
I'm closing this issue as a duplicate of #1
from esformatter.
Related Issues (20)
- Remove newline inMemberExpression
- How to use with webpack?
- Non flattened imports
- how can i learn how i work with esformatter config like (indent, lineBreak, whiteSpace)
- How can I use it on .vue in vscode? HOT 1
- Weird indentation on close parentheses of chain
- npm audit issue: Tmp files readable by other users
- Exclude node_modules by default
- How to exclude file paths?
- Exclude gitignore'd paths by default
- Exclude minified files by default
- Inherit EditorConfig style
- Allow no space between braces for empty blocks
- FunctionDeclaration opening, closing configuration ignored for object values HOT 1
- Option to encourage more method chains to be multi-line
- Security: Tmp files readable by other users
- Regular Expression Denial of Service
- Fork HOT 3
- Vulnerable disparity dependency HOT 3
- Vulnerabilities in disparity dependency
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 esformatter.