This repository was archived by the owner on Jun 20, 2019. It is now read-only.
This repository was archived by the owner on Jun 20, 2019. It is now read-only.
Error: ENOENT: no such file or directory, scandir './rules' #106
Open
Description
Package.json
"eslintConfig": {
"extends": "plugin:wordpress/recommended",
"plugins": [
"wordpress"
]
},
"eslintIgnore": [
"js/**.min.js"
],
When I run the eslint js/**
on _s
I get the following error.
Error: ENOENT: no such file or directory, scandir './rules'
at Error (native)
at Object.fs.readdirSync (fs.js:951:18)
at module.exports (/usr/local/lib/node_modules/eslint-plugin-wordpress/node_modules/requireindex/index.js:18:20)
at Object.<anonymous> (/usr/local/lib/node_modules/eslint-plugin-wordpress/index.js:20:24)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
Similar issue eslint/generator-eslint#20
Metadata
Metadata
Assignees
Labels
No labels