Improve eslint and fix lint in package.js file

This commit is contained in:
CJ Patoilo 2019-07-09 10:42:39 -03:00
parent 60849a6c69
commit 19b8efdfb7
2 changed files with 4 additions and 2 deletions

View File

@ -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'

View File

@ -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",