benmneb
benmneb

Reputation: 2303

How to convert VS Code ESLint settings to .eslintrc file

How do I convert all my current VS Code ESLint settings to a .eslintrc.json file so anyone who clones the repo will get them too?

I assume I can find them in json somewhere and just copy/paste? Thanks

Upvotes: 1

Views: 2645

Answers (1)

kaffarell
kaffarell

Reputation: 709

The eslint configuration is probably stored in the settings.json file. To open it simply press Ctrl+Shift+P and type: Preferences: Open Settings (JSON). You should be able to copy everything in eslint.options to the eslintrc file and it should work.

Upvotes: 2

Related Questions