diff --git a/.eslintrc.js b/.eslintrc.js index 01f0faca84..c4ae5e933a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -27,7 +27,7 @@ module.exports = { 'import/no-duplicates': 'error', 'import/no-unresolved': 'error', 'import/named': 'error', - 'prettier/prettier': ['error', { singleQuote: true, trailingComma: 'es5' }], + 'prettier/prettier': 'error', 'react/button-has-type': 'error', 'react/no-access-state-in-setstate': 'error', 'react/no-danger': 'error', diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 0000000000..0a2100a392 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,4 @@ +module.exports = { + singleQuote: true, + trailingComma: 'es5' +};