Skip to content

Instantly share code, notes, and snippets.

@ryyppy
Created June 7, 2019 10:44
Show Gist options
  • Save ryyppy/ec0b14a6d81b5c667ba852b3ff61e7a8 to your computer and use it in GitHub Desktop.
Save ryyppy/ec0b14a6d81b5c667ba852b3ff61e7a8 to your computer and use it in GitHub Desktop.
VIM + Prettier Config Workaround
/* 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