Minor update prettierrc override

This commit is contained in:
Victor Hagelbäck 2021-01-25 08:05:14 +01:00
parent 3adadd3f7c
commit 35cbf9a12a

View file

@ -4,13 +4,13 @@ module.exports = {
semi: true, semi: true,
singleQuote: true, singleQuote: true,
tabWidth: 2, tabWidth: 2,
trailingComma: 'none', trailingComma: 'all',
overrides: [ overrides: [
{ {
files: '*.js, *.jsx', files: ['*.js'],
options: { options: {
trailingComma: 'all' // or es5 trailingComma: 'all',
} },
} },
] ],
}; };