Initialize .editorconfig in your terminal
npm i -g editorconfig-cli
init
- create new .editorconfigadd-rules
- add rules to existing .editorconfig file
ec init
to use defaults w/o questionnaire:
ec init -y
ec add-rules
npx editorconfig-cli init -y
ec --help