Skip to content

Commit

Permalink
Chore: Remove call to lint absent Makefile.js (#129)
Browse files Browse the repository at this point in the history
In the process, add to the ignore file to explicitly exclude undesired; also lint additional file.
  • Loading branch information
brettz9 authored and btmills committed Nov 1, 2019
1 parent 5640ea6 commit d52988f
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 130 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
@@ -1 +1,3 @@
node_modules
coverage
tests/fixtures
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -5,4 +5,6 @@

"use strict";

// https://github.com/mysticatea/eslint-plugin-node/issues/193
// eslint-disable-next-line node/no-unpublished-require
module.exports = require("./lib");
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -20,7 +20,7 @@
"linter"
],
"scripts": {
"lint": "eslint Makefile.js lib/**/*.js tests/lib/plugin.js",
"lint": "eslint .",
"test": "npm run lint && npm run test-cov",
"test-cov": "istanbul cover _mocha -- -c tests/lib/**/*.js",
"generate-release": "eslint-generate-release",
Expand Down

0 comments on commit d52988f

Please sign in to comment.