1.0.1 • Published 5 years ago

eslint-config-prettierslint-no-headache v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

eslint, prettier in a snap

I use vscode with the eslint extension, without prettier extension

Install it as a peer dependency

yarn add eslint-prettier-no-headache -P

vscode config:

"editor.formatOnSave": true,
"[javascript]": {
  "editor.formatOnSave": false
},
"[javascriptreact]": {
  "editor.formatOnSave": false
},
"eslint.autoFixOnSave": true,
"prettier.disableLanguages": ["javascript", "javascriptreact"],

in the .eslintrc.js include 'prettierslint-no-headache' in the extends array.