Skip to content

Commit

Permalink
refactor: aligned code styles through projects (#192)
Browse files Browse the repository at this point in the history
* refactor: aligned code styles through projects

* Update .prettierrc.json

* fix: this is not an option for the config
  • Loading branch information
mfranzke authored Dec 5, 2022
1 parent 94b3082 commit 49f9fbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module.exports = {
es2021: true,
node: true
},
extends: ['eslint:recommended'],
rules: {
'no-console': 'error'
}
Expand Down
13 changes: 4 additions & 9 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@
"trailingComma": "none",
"overrides": [
{
"files": "**/*.js",
"files": ["*.js", "*.jsx", "*.ts", "*.tsx"],
"options": {
"singleQuote": true
}
},
{
"files": "**/*.mjs",
"options": {
"singleQuote": true
"bracketSameLine": true
}
}
]
],
"bracketSpacing": true
}

0 comments on commit 49f9fbe

Please sign in to comment.