Skip to content

Commit d52988f

Browse files
brettz9btmills
authored andcommitted
Chore: Remove call to lint absent Makefile.js (#129)
In the process, add to the ignore file to explicitly exclude undesired; also lint additional file.
1 parent 5640ea6 commit d52988f

File tree

4 files changed

+134
-130
lines changed

4 files changed

+134
-130
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
node_modules
2+
coverage
13
tests/fixtures

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55

66
"use strict";
77

8+
// https://github.com/mysticatea/eslint-plugin-node/issues/193
9+
// eslint-disable-next-line node/no-unpublished-require
810
module.exports = require("./lib");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"linter"
2121
],
2222
"scripts": {
23-
"lint": "eslint Makefile.js lib/**/*.js tests/lib/plugin.js",
23+
"lint": "eslint .",
2424
"test": "npm run lint && npm run test-cov",
2525
"test-cov": "istanbul cover _mocha -- -c tests/lib/**/*.js",
2626
"generate-release": "eslint-generate-release",

0 commit comments

Comments
 (0)