Skip to content

Commit bc11a79

Browse files
committed
Merge updates from project template
Signed-off-by: Kevin Locke <[email protected]>
2 parents 0c9f13f + 28f40ee commit bc11a79

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.eslintrc.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,14 @@ rules:
101101
arrow-parens: [2, "always"]
102102

103103
# eslint-plugin-import
104-
## Allow requiring devDependencies in test, test-bin, and test-lib
105-
import/no-extraneous-dependencies: [2, {"devDependencies": ["test/**", "test-bin/**", "test-lib/**"]}]
104+
## Allow requiring devDependencies for build and test
105+
import/no-extraneous-dependencies: [2, {
106+
"devDependencies": [
107+
"gulpfile.js",
108+
"test-bin/**",
109+
"test-lib/**",
110+
"test/**"
111+
]
112+
}]
106113

107114
# vi: set sts=2 sw=2 et ft=yaml:

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"lint-js": "eslint . && echo ESLint passed.",
3333
"postpublish": "git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.",
3434
"postversion": "rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"",
35-
"preversion": "depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david && node ./bin/git-branch-is.js master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/git-branch-is && nyc check-coverage --lines 95",
35+
"preversion": "depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david -i eslint && node ./bin/git-branch-is.js master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/git-branch-is && nyc check-coverage --lines 95",
3636
"test": "npm run lint && npm run test-unit",
3737
"test-cov": "npm run lint && npm run test-unit-cov",
3838
"test-unit": "mocha --recursive test",
@@ -62,6 +62,11 @@
6262
"node": ">=6",
6363
"npm": ">=1.3.7"
6464
},
65+
"greenkeeper": {
66+
"ignore": [
67+
"eslint"
68+
]
69+
},
6570
"nyc": {
6671
"exclude": [
6772
"test",

0 commit comments

Comments
 (0)