Using eslint_d to do the same as this package
DamienCassou opened this issue · 0 comments
DamienCassou commented
To automatically format on save your JS buffer using prettier syntax, you can:
- Install and configure eslint if you haven't done so already
- Add eslint-plugin-prettier and eslint-config-prettier to your package.json
- Add "eslint:recommended" and "plugin:prettier/recommended" to your eslint "extends" configuration
- Add "prettier" to your eslint "plugins" configuration
- Install and activate eslintd-fix for Emacs
- Turn on eslintd-fix-mode in your JS files