Skip to content
Permalink
Browse files

fix(rollup): better error details (#579)

Fixes #578
  • Loading branch information...
tivac committed Apr 9, 2019
1 parent 643955c commit 15da7ff31098cdfbc1c5388e4b8f3f208d94d193
@@ -18,5 +18,19 @@ module.exports = {

rules : {
"max-statements" : [ "warn", 25 ],
"newline-after-var" : "off",
"newline-before-return" : "off",
"lines-around-directive" : "off",
"padding-line-between-statements" : [
"warn",
// Always want a newline before "return"
{ blankLine : "always", prev : "*", next : "return" },
// Newline after variable declarations
{ blankLine : "always", prev : [ "const", "let", "var" ], next : "*"},
{ blankLine : "any", prev : [ "const", "let", "var" ], next : [ "const", "let", "var" ] },
// Newline after directives
{ blankLine : "always", prev : "directive", next : "*" },
{ blankLine : "any", prev : "directive", next : "directive" }
],
},
};
Oops, something went wrong.

0 comments on commit 15da7ff

Please sign in to comment.
You can’t perform that action at this time.