Skip to content

Commit bfaee05

Browse files
committed
feature/prefer-collections-with-pagination
- Fix eslint plugin index.js
1 parent 3c7527e commit bfaee05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint-plugin/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const configs = {
4949
};
5050

5151
const rulesDirectory = "./rules";
52-
fs.readdirSync(rulesDirectory).forEach((file) => {
52+
fs.readdirSync(path.resolve(__dirname, rulesDirectory)).forEach((file) => {
5353
const ruleName = path.parse(file).name;
5454
const resolvedRule = resolveRule(`./${path.join(rulesDirectory, ruleName)}`);
5555

0 commit comments

Comments
 (0)