accept "unsafe" line breaks
This commit is contained in:
parent
df9e435da3
commit
9720d1dcd1
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
// The Good Parts.
|
// The Good Parts.
|
||||||
"asi" : false, // Tolerate Automatic Semicolon Insertion (no semicolons).
|
"asi" : false, // Tolerate Automatic Semicolon Insertion (no semicolons).
|
||||||
"laxbreak" : false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons.
|
"laxbreak" : true, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons.
|
||||||
"bitwise" : true, // Prohibit bitwise operators (&, |, ^, etc.).
|
"bitwise" : true, // Prohibit bitwise operators (&, |, ^, etc.).
|
||||||
"boss" : false, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments.
|
"boss" : false, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments.
|
||||||
"curly" : true, // Require {} for every new block or scope.
|
"curly" : true, // Require {} for every new block or scope.
|
||||||
|
|
Loading…
Reference in a new issue