From 8b753de1d11d624de56b4fc898da98b51403f6d3 Mon Sep 17 00:00:00 2001 From: Michael Frank Date: Wed, 12 May 2021 19:37:53 +1200 Subject: [PATCH] multiple files: Added a blank line at the end of each file --- calculator/calculator.js | 2 +- helloWorld/helloWorld.spec.js | 2 +- package.json | 3 +++ pigLatin/pigLatin.js | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/calculator/calculator.js b/calculator/calculator.js index 22cca93..301d746 100644 --- a/calculator/calculator.js +++ b/calculator/calculator.js @@ -29,4 +29,4 @@ module.exports = { multiply, power, factorial -}; \ No newline at end of file +}; diff --git a/helloWorld/helloWorld.spec.js b/helloWorld/helloWorld.spec.js index af40823..7f9198d 100644 --- a/helloWorld/helloWorld.spec.js +++ b/helloWorld/helloWorld.spec.js @@ -2,4 +2,4 @@ const helloWorld = require('./helloWorld'); test('says "Hello, World!"', function() { expect(helloWorld()).toBe("Hello, World!"); -}); \ No newline at end of file +}); diff --git a/package.json b/package.json index fe9a494..5f08d22 100644 --- a/package.json +++ b/package.json @@ -22,5 +22,8 @@ }, "scripts": { "test": "jest" + }, + "eslintConfig": { + "root": true } } diff --git a/pigLatin/pigLatin.js b/pigLatin/pigLatin.js index 281f010..c2a557c 100644 --- a/pigLatin/pigLatin.js +++ b/pigLatin/pigLatin.js @@ -2,4 +2,4 @@ function pigLatin(string) { }; - module.exports = pigLatin; \ No newline at end of file + module.exports = pigLatin;