Skip to content

Commit

Permalink
Updated client dependencies & linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubcieslik99 committed Jan 15, 2024
1 parent 4757b6d commit 3d8d3cf
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 169 deletions.
3 changes: 3 additions & 0 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ module.exports = {
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
semi: ['error', 'never'],
quotes: ['error', 'single'],
'arrow-parens': ['error', 'as-needed'],
},
}
6 changes: 3 additions & 3 deletions client/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"arrowParens": "avoid",
"printWidth": 125,
"proseWrap": "always",
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"tabWidth": 2,
"printWidth": 125,
"proseWrap": "always",
"trailingComma": "es5"
}
Loading

0 comments on commit 3d8d3cf

Please sign in to comment.