Error installing linter-eslint plugin with atom - Stack Overflow
代言
代言 2017-07-05 11:02:04
0
1
949

When installing the linter-eslint plug-in with atom, I installed linter-eslint manually. After installing the required modules, I was prompted that it could not be activated.
Failed to activate the linter-eslint package
Error: Unsupported preset format: undefined . (While processing preset: "C:\Users\shexm\.atom\packages\linter-eslint-master\node_modules\node5\test.js")

The following is the complete code of test.js in the node5 folder

console.log('hello wold')

function hello() {

console.log('hello, this is my first package!fumingyu')

}
module.exports=hello;
I don’t know how to activate

代言
代言

reply all(1)
phpcn_u1582

I remember that if you want eslint, you need to install linter and linter-eslint plug-ins. It is possible that these two plug-ins are not installed properly.

You can reinstall it, or use the apm official package management command to install it. After the installation is complete, restart atom

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template