$ npm install --save-dev @wonize/editorconfig editorconfig
$ yarn add --dev @wonize/editorconfig editorconfig
$ pnpm add --save-dev @wonize/editorconfig editorconfig
$ bun add --dev @wonize/editorconfig editorconfig
to add .editorconfig
to project, first change work directory to target directory:
$ cd [PROJECT DIRECTORY]
then execute one of below command by option:
$ npx w-editorconfig .
$ yarn dlx w-editorconfig .
$ pnpm dlx w-editorconfig .