Improve eslint and fix lint in package.js file
This commit is contained in:
parent
60849a6c69
commit
19b8efdfb7
@ -1,3 +1,4 @@
|
|||||||
|
// eslint-disable-next-line
|
||||||
Package.describe({
|
Package.describe({
|
||||||
name: 'milligram:milligram',
|
name: 'milligram:milligram',
|
||||||
version: '1.3.0',
|
version: '1.3.0',
|
||||||
@ -6,7 +7,8 @@ Package.describe({
|
|||||||
documentation: 'readme.md'
|
documentation: 'readme.md'
|
||||||
})
|
})
|
||||||
|
|
||||||
Package.onUse((api) => {
|
// eslint-disable-next-line
|
||||||
|
Package.onUse(api => {
|
||||||
api.versionsFrom('METEOR@1.0')
|
api.versionsFrom('METEOR@1.0')
|
||||||
api.addFiles([
|
api.addFiles([
|
||||||
'dist/milligram.css'
|
'dist/milligram.css'
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
"backstop": "run-s build && run-p serve compare",
|
"backstop": "run-s build && run-p serve compare",
|
||||||
"reference": "backstop reference --configPath=backstop.conf.js",
|
"reference": "backstop reference --configPath=backstop.conf.js",
|
||||||
"compare": "backstop test --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",
|
"ava": "nyc ava",
|
||||||
"precommit": "run-p test",
|
"precommit": "run-p test",
|
||||||
"prepublish": "run-s build",
|
"prepublish": "run-s build",
|
||||||
|
Loading…
Reference in New Issue
Block a user