From 19b8efdfb7480e79af261854c64281c1264a6cb4 Mon Sep 17 00:00:00 2001 From: CJ Patoilo Date: Tue, 9 Jul 2019 10:42:39 -0300 Subject: [PATCH] Improve eslint and fix lint in package.js file --- package.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.js b/package.js index 6c5f700..b7ec54d 100644 --- a/package.js +++ b/package.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line Package.describe({ name: 'milligram:milligram', version: '1.3.0', @@ -6,7 +7,8 @@ Package.describe({ documentation: 'readme.md' }) -Package.onUse((api) => { +// eslint-disable-next-line +Package.onUse(api => { api.versionsFrom('METEOR@1.0') api.addFiles([ 'dist/milligram.css' diff --git a/package.json b/package.json index f79e221..1567553 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "backstop": "run-s build && run-p serve compare", "reference": "backstop reference --configPath=backstop.conf.js", "compare": "backstop test --configPath=backstop.conf.js", - "lint": "sass-lint -c .sasslintrc src --verbose --no-exit && eslint test -c styled", + "lint": "sass-lint -c .sasslintrc src --verbose --no-exit && eslint . --ignore-path .gitignore package.js", "ava": "nyc ava", "precommit": "run-p test", "prepublish": "run-s build",