Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using eslint_d to do the same as this package #53

Open
DamienCassou opened this issue Mar 13, 2019 · 0 comments
Open

Using eslint_d to do the same as this package #53

DamienCassou opened this issue Mar 13, 2019 · 0 comments

Comments

@DamienCassou
Copy link

To automatically format on save your JS buffer using prettier syntax, you can:

  1. Install and configure eslint if you haven't done so already
  2. Add eslint-plugin-prettier and eslint-config-prettier to your package.json
  3. Add "eslint:recommended" and "plugin:prettier/recommended" to your eslint "extends" configuration
  4. Add "prettier" to your eslint "plugins" configuration
  5. Install and activate eslintd-fix for Emacs
  6. Turn on eslintd-fix-mode in your JS files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant