Skip to content

Commit

Permalink
fix(rollup): better error details (#579)
Browse files Browse the repository at this point in the history
Fixes #578
  • Loading branch information
tivac authored Apr 9, 2019
1 parent 643955c commit 15da7ff
Show file tree
Hide file tree
Showing 11 changed files with 227 additions and 83 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
],
},
};
Loading

0 comments on commit 15da7ff

Please sign in to comment.