While configuring eslint I stumbled over the fact, that some preconfigured plugins suggest setting the "plugins" : []
value inside my config (typescript), while other plugins don't suggest it (stencil).
On the prementioned Typescripts plugin documentation, I can read
plugins: ['@typescript-eslint'] tells ESLint to load the @typescript-eslint/eslint-plugin package as a plugin.
- This allows you to use typescript-eslint's rules within your codebase.
What does this mean? the --print-config
flag produces the same config, whether I provide the plugins or not and the linting also works perfectly without them. So why would I want to set this additional value?