From 0d2e8cda7e0b431e316ef1cdb05669e39e33e260 Mon Sep 17 00:00:00 2001 From: uribalb <20659407+uribalb@users.noreply.github.com> Date: Fri, 15 Dec 2023 02:38:16 +0100 Subject: [PATCH] Update .eslintrc.js configuration --- .eslintrc.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 9fb27ea..d1ce6a1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,7 @@ -module.exports = { +export default { + parserOptions: { + project: 'tsconfig.json', + }, extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/eslint-recommended', @@ -23,6 +26,10 @@ module.exports = { ], curly: ['error', 'all'], eqeqeq: 'error', - 'prefer-arrow-callback': 'error' + 'prefer-arrow-callback': 'error', + 'prettier/prettier': ['error', { + endOfLine: 'auto', + }], } -}; \ No newline at end of file +}; + \ No newline at end of file