Skip to content

Commit

Permalink
Add prettier options
Browse files Browse the repository at this point in the history
  • Loading branch information
gerdesque committed Oct 31, 2022
1 parent 489693d commit fe0e051
Show file tree
Hide file tree
Showing 4 changed files with 206 additions and 12 deletions.
11 changes: 3 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ module.exports = {
browser: true,
es2021: true,
},
extends: [
'eslint:recommended',
'plugin:@next/next/recommended',
'plugin:react/recommended',
'prettier',
],
extends: ['eslint:recommended', 'plugin:@next/next/recommended', 'plugin:react/recommended', 'prettier'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
Expand All @@ -25,10 +20,10 @@ module.exports = {
{
singleQuote: true,
semi: false,
printWidth: 70,
printWidth: 180,
},
],
'react/prop-types': 'off'
'react/prop-types': 'off',
},
settings: {
react: {
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 180
}
200 changes: 196 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-material-ui-carousel": "^3.4.2",
"react-social-media-embed": "^2.2.2",
"react-use-audio-player": "^1.2.6",
"zustand": "^4.1.2"
},
Expand Down

0 comments on commit fe0e051

Please sign in to comment.