Sometimes Atom editor throws the Error: Path must be a string. Received null error on the right-hand side of the console. Please do the following steps to get rid of it:
Go to File and then Settings.
Click on the Packages and uninstall the linter-eslint package. That should fix the issue.