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
I am using vim's syntactic plugin, the plugin was not working with airbnb's .eslintrc, to investigate the issue I tried linting my file from command line by issuing the command $ eslint app.js, it gave the error mentioned in the subject. I am pasting the stack trace here
Referenced from: /home/saqib/blog/.eslintrc
at Function.module.exports as sync
at resolve (/usr/lib/node_modules/eslint/lib/config/config-file.js:417:38)
at load (/usr/lib/node_modules/eslint/lib/config/config-file.js:436:24)
at /usr/lib/node_modules/eslint/lib/config/config-file.js:355:36
at Array.reduceRight (native)
at applyExtends (/usr/lib/node_modules/eslint/lib/config/config-file.js:338:28)
at Object.load (/usr/lib/node_modules/eslint/lib/config/config-file.js:464:22)
at loadConfig (/usr/lib/node_modules/eslint/lib/config.js:67:33)
at getLocalConfig (/usr/lib/node_modules/eslint/lib/config.js:129:23)
at Config.getConfig (/usr/lib/node_modules/eslint/lib/config.js:222:22)
The text was updated successfully, but these errors were encountered:
I have a coworker who has had to do some gymnastics to get syntactic working as well.
I suspect one or both of eslint and the plugin are not in the same package area. npm -g list | grep eslint vs cd /home/saqib/blog && npm list | grep eslint?
I am using vim's syntactic plugin, the plugin was not working with airbnb's
.eslintrc
, to investigate the issue I tried linting my file from command line by issuing the command$ eslint app.js
, it gave the error mentioned in the subject. I am pasting the stack trace hereThe text was updated successfully, but these errors were encountered: