diff --git a/ui/.eslintrc.js b/ui/.eslintrc.js index fcf23b26ac2..66cf9e17aa1 100644 --- a/ui/.eslintrc.js +++ b/ui/.eslintrc.js @@ -16,7 +16,7 @@ module.exports = { 'plugin:cypress/recommended', 'next', 'plugin:prettier/recommended', -], + ], globals: { Atomics: 'readonly', SharedArrayBuffer: 'readonly', @@ -55,6 +55,6 @@ module.exports = { }, ], 'react/prop-types': 'off', - 'prettier/prettier': 'warn', + 'prettier/prettier': ['error', { endOfLine: 'lf' }], }, }; diff --git a/ui/.prettierrc.yml b/ui/.prettierrc.yml index 1b6b2d6f698..d75e5e04e23 100644 --- a/ui/.prettierrc.yml +++ b/ui/.prettierrc.yml @@ -10,3 +10,4 @@ tabWidth: 2 trailingComma: all printWidth: 100 useTabs: false +endOfLine: 'lf'