diff --git a/.eslintrc.yml b/.eslintrc.yml index 645e3f2..1fbe7ee 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -3,5 +3,6 @@ rules: eol-last: error eqeqeq: ["error", "always", { "null": "ignore" }] no-mixed-spaces-and-tabs: error + no-multiple-empty-lines: ["error", { "max": 1, "maxEOF": 0 }] no-trailing-spaces: error one-var: ["error", { "initialized": "never" }] diff --git a/examples/extend/app.js b/examples/extend/app.js index 565181b..484d98a 100644 --- a/examples/extend/app.js +++ b/examples/extend/app.js @@ -34,4 +34,3 @@ app.get('/', function(req, res){ }); app.listen(3000); - diff --git a/examples/partial/app.js b/examples/partial/app.js index b6b606d..00e32d7 100644 --- a/examples/partial/app.js +++ b/examples/partial/app.js @@ -28,4 +28,3 @@ app.get('/', function(req, res) { }); app.listen(3000); - diff --git a/lib/async.js b/lib/async.js index aa0029e..617aeb4 100644 --- a/lib/async.js +++ b/lib/async.js @@ -105,4 +105,3 @@ module.exports = function() { return obj; }; - diff --git a/test/3.x/no_layout_app.js b/test/3.x/no_layout_app.js index 809a92d..16f0eb7 100644 --- a/test/3.x/no_layout_app.js +++ b/test/3.x/no_layout_app.js @@ -87,4 +87,3 @@ test('index layout cache', function(done) { .expect(fs.readFileSync(path.join(FIXTURES_DIR, 'index_no_layout.html'), 'utf8')) .end(done) }); - diff --git a/test/4.x/no_layout_app.js b/test/4.x/no_layout_app.js index 6e7deef..76784e2 100644 --- a/test/4.x/no_layout_app.js +++ b/test/4.x/no_layout_app.js @@ -90,4 +90,3 @@ test('index layout cache', function(done) { .expect(fs.readFileSync(path.join(FIXTURES_DIR, 'index_no_layout.html'), 'utf8')) .end(done) }); -