Skip to content

Commit

Permalink
Update .eslintrc.js configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
uribalb committed Dec 15, 2023
1 parent f37a7c1 commit 0d2e8cd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
export default {
parserOptions: {
project: 'tsconfig.json',
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
Expand All @@ -23,6 +26,10 @@ module.exports = {
],
curly: ['error', 'all'],
eqeqeq: 'error',
'prefer-arrow-callback': 'error'
'prefer-arrow-callback': 'error',
'prettier/prettier': ['error', {
endOfLine: 'auto',
}],
}
};
};

0 comments on commit 0d2e8cd

Please sign in to comment.