atom 工具到js时候 总是报错:
Error: Path must be a string. Received null
TypeError: Path must be a string. Received null
at assertPath (path.js:7:11)
at Object.dirname (path.js:1326:5)
at Object.getESLintInstance (/Users/lph/.atom/packages/linter-eslint/lib/worker-helpers.js:87:35)
at /Users/lph/.atom/packages/linter-eslint/lib/worker.js:62:24
at Emitter.emit (/Users/lph/.atom/packages/linter-eslint/node_modules/process-communication/node_modules/sb-event-kit/lib/emitter.js:70:19)
at /Users/lph/.atom/packages/linter-eslint/node_modules/process-communication/node_modules/sb-communication/lib/main.js:22:23
at /Users/lph/.atom/packages/linter-eslint/node_modules/process-communication/node_modules/sb-communication/lib/main.js:21:24
at Emitter.emit (/Users/lph/.atom/packages/linter-eslint/node_modules/process-communication/node_modules/sb-event-kit/lib/emitter.js:68:19)
at Communication.parseMessage (/Users/lph/.atom/packages/linter-eslint/node_modules/process-communication/node_modules/sb-communication/lib/main.js:63:18)
at process.messageCallback (/Users/lph/.atom/packages/linter-eslint/node_modules/process-communication/lib/communication.js:35:27)