Replies: 1 comment 2 replies
-
You can install ESLint globally if you’d like: npm install eslint -g Then you can run it as “eslint” in any directory. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
It's possible to install eslint like an external tool independent from the project dependency, since this is a tool and not a lib that we need to install in our project and use it's functionality, i mean my code works without eslint i need it only to check my code.
something like:
https://github.com/phpstan/phpstan
you can install it like a tool and run the command to analyse your code, without install it as dependency of your project.
Beta Was this translation helpful? Give feedback.
All reactions