eslint-config-prettierslint-no-headache
v1.0.1
Published
I use vscode **with** the eslint extension, **without** prettier extension
Downloads
2
Readme
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.