diff --git a/.eslintrc.js b/.eslintrc.js index 404f1cf155e0e..f4af9ed6d4b56 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -84,7 +84,7 @@ module.exports = { // The following rule enables eslint-plugin-prettier // See: https://github.com/prettier/eslint-plugin-prettier#recommended-configuration - 'prettier/prettier': 'error', + 'prettier/prettier': ['error', { endOfLine: 'auto' }], // The following two rules must be disabled when using eslint-plugin-prettier: // See: https://github.com/prettier/eslint-plugin-prettier#arrow-body-style-and-prefer-arrow-callback-issue