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