Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to see all active rules from a complex eslint config?

My eslint configuration extends several other configuration files. Is it possible to get a static export of all the currently applied rules?

Is there possibly a VSCode plugin for it?

like image 684
Qwerty Avatar asked Jan 25 '26 12:01

Qwerty


1 Answers

Yes, you can use the --print-config option.

./node_modules/.bin/eslint --print-config some-file.js > my-config.json

or

npx eslint --print-config some-file.js > my-config.json
like image 187
draperunner Avatar answered Jan 27 '26 16:01

draperunner



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!