-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added "insertNewLineAroundImports" formatting option
- Loading branch information
1 parent
7937cb2
commit dc9898e
Showing
23 changed files
with
123 additions
and
35 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
spec/option-insert-new-line-around-any-1/formattingOptions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"insertNewLineAroundBlocks": true, | ||
"insertNewLineAroundProperties": true, | ||
"insertNewLineAroundImports": true, | ||
"insertNewLineAroundOthers": true, | ||
"newLineChar": "\r\n" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
@import 'a' | ||
@require 'b' | ||
.class1 | ||
@import 'c' | ||
mixin() | ||
display func() | ||
func() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
@import 'a'; | ||
@require 'b'; | ||
|
||
.class1 { | ||
@import 'c'; | ||
|
||
mixin() { | ||
display: func(); | ||
} | ||
|
1 change: 1 addition & 0 deletions
1
spec/option-insert-new-line-around-any-2/formattingOptions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"insertNewLineAroundBlocks": true, | ||
"insertNewLineAroundProperties": false, | ||
"insertNewLineAroundImports": false, | ||
"insertNewLineAroundOthers": false, | ||
"newLineChar": "\r\n" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
@import 'a' | ||
@require 'b' | ||
.class1 | ||
@import 'c' | ||
mixin() | ||
display func() | ||
func() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
@import 'a'; | ||
@require 'b'; | ||
|
||
.class1 { | ||
@import 'c'; | ||
|
||
mixin() { | ||
display: func(); | ||
} | ||
|
1 change: 1 addition & 0 deletions
1
spec/option-insert-new-line-around-any-3/formattingOptions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"insertNewLineAroundBlocks": false, | ||
"insertNewLineAroundProperties": false, | ||
"insertNewLineAroundImports": false, | ||
"insertNewLineAroundOthers": false, | ||
"newLineChar": "\r\n" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
@import 'a' | ||
@require 'b' | ||
.class1 | ||
@import 'c' | ||
mixin() | ||
display func() | ||
func() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
@import 'a'; | ||
@require 'b'; | ||
.class1 { | ||
@import 'c'; | ||
mixin() { | ||
display: func(); | ||
} | ||
|
1 change: 1 addition & 0 deletions
1
spec/option-insert-new-line-around-any-4/formattingOptions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"insertNewLineAroundBlocks": "root", | ||
"insertNewLineAroundProperties": false, | ||
"insertNewLineAroundImports": "root", | ||
"insertNewLineAroundOthers": "root", | ||
"newLineChar": "\r\n" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
@import 'a' | ||
@require 'b' | ||
.class1 | ||
@import 'c' | ||
mixin() | ||
display func() | ||
func() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
@import 'a'; | ||
@require 'b'; | ||
|
||
.class1 { | ||
@import 'c'; | ||
mixin() { | ||
display: func(); | ||
} | ||
|
1 change: 1 addition & 0 deletions
1
spec/option-insert-new-line-around-any-5/formattingOptions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"insertNewLineAroundBlocks": "nested", | ||
"insertNewLineAroundProperties": false, | ||
"insertNewLineAroundImports": "nested", | ||
"insertNewLineAroundOthers": "nested", | ||
"newLineChar": "\r\n" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
@import 'a' | ||
@require 'b' | ||
.class1 | ||
@import 'c' | ||
mixin() | ||
display func() | ||
func() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
@import 'a'; | ||
@require 'b'; | ||
.class1 { | ||
@import 'c'; | ||
|
||
mixin() { | ||
display: func(); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ body | |
return 2 | ||
} | ||
foo = 1 + 2 | ||
bar = 1 ? 2 : 3 | ||
bar = 1 ? 2 : 3 | ||
@extend .class1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ body | |
return 2 | ||
} | ||
foo = 1 + 2 | ||
bar = 1 ? 2 : 3 | ||
bar = 1 ? 2 : 3 | ||
@extend .class1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters