Created
June 7, 2019 10:44
-
-
Save ryyppy/ec0b14a6d81b5c667ba852b3ff61e7a8 to your computer and use it in GitHub Desktop.
VIM + Prettier Config Workaround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Needed, so vim + prettier is working correctly, otherwise prettier is yielding a weird parsing error message */ | |
module.exports = { | |
trailingComma: 'es5', | |
tabWidth: 2, | |
semi: false, | |
singleQuote: true, | |
parser: 'babylon', | |
overrides: [ | |
{ | |
files: '**/*.js', | |
options: { | |
parser: 'babylon', | |
}, | |
}, | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment