Author Topic: For Javascript, does slickedit support Eslint ?  (Read 87 times)

geneenji

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
For Javascript, does slickedit support Eslint ?
« on: August 05, 2017, 08:03:04 pm »
Eslint seems to be pretty popular, does slickedit 2016 supports it ?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3728
  • Hero Points: 244
Re: For Javascript, does slickedit support Eslint ?
« Reply #1 on: August 07, 2017, 02:45:25 pm »
I was trying to get eslint to run but can't. I want to see what the error message output is because that would be a good way for it to work in SlickEdit.

I tried installing a bunch of packages but nothing seems to work. Any idea what I'm doing wrong?
-----------------------------------------------------------------------------------------------
eslint junk.js

Cannot find module 'eslint-config-google'
Referenced from: c:\users\cmaurer\temp\.eslintrc.js
Error: Cannot find module 'eslint-config-google'
Referenced from: c:\users\cmaurer\temp\.eslintrc.js
    at ModuleResolver.resolve (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\util\module-resolver.js:74:19)
    at resolve (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:515:25)
    at load (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:584:26)
    at configExtends.reduceRight.e (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:421:36)
    at Array.reduceRight (native)
    at applyExtends (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:403:28)
    at loadFromDisk (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:556:22)
    at Object.load (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\config\config-file.js:592:20)
    at Config.getLocalConfigHierarchy (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\config.js:228:44)
    at Config.getConfigHierarchy (C:\Users\cmaurer\AppData\Roaming\npm\node_modules\eslint\lib\config.js:182:43)