You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
I generate the .eslintrc.js using the api neutrino.call('eslintrc'). Eslint 4.7.2 is installed at project root so that the sublimelinter would use it to do the linting. But it doesn't work right now. I run it manually and found that eslint's config validator is complaining:
ESLint configuration in c:\myapp\.eslintrc.js is invalid:
- Unexpected top-level property "cwd".
Error: ESLint configuration in c:\myapp\.eslintrc.js is invalid:
- Unexpected top-level property "cwd".
at validateConfigSchema (c:\myapp\node_modules\eslint\lib\config\config-validator.js:212:15)
at Object.validate (c:\myapp\node_modules\eslint\lib\config\config-validator.js:229:5)
at loadFromDisk (c:\myapp\node_modules\eslint\lib\config\config-file.js:549:19)
at Object.load (c:\myapp\node_modules\eslint\lib\config\config-file.js:592:20)
at Config.getLocalConfigHierarchy (c:\myapp\node_modules\eslint\lib\config.js:226:44)
at Config.getConfigHierarchy (c:\myapp\node_modules\eslint\lib\config.js:180:43)
at Config.getConfigVector (c:\myapp\node_modules\eslint\lib\config.js:285:21)
at Config.getConfig (c:\myapp\node_modules\eslint\lib\config.js:328:29)
at processText (c:\myapp\node_modules\eslint\lib\cli-engine.js:156:33)
at processFile (c:\myapp\node_modules\eslint\lib\cli-engine.js:216:18)
I generate the
.eslintrc.js
using the apineutrino.call('eslintrc')
. Eslint 4.7.2 is installed at project root so that the sublimelinter would use it to do the linting. But it doesn't work right now. I run it manually and found that eslint's config validator is complaining:The generated
.eslintrc.js
isI found that I have to delete a bunch of top-level properties to give a proper config for eslint to consume:
The text was updated successfully, but these errors were encountered: