Skip to content

Commit 49f9fbe

Browse files
authored
refactor: aligned code styles through projects (#192)
* refactor: aligned code styles through projects * Update .prettierrc.json * fix: this is not an option for the config
1 parent 94b3082 commit 49f9fbe

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ module.exports = {
44
es2021: true,
55
node: true
66
},
7-
extends: ['eslint:recommended'],
87
rules: {
98
'no-console': 'error'
109
}

.prettierrc.json

+4-9
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
"trailingComma": "none",
33
"overrides": [
44
{
5-
"files": "**/*.js",
5+
"files": ["*.js", "*.jsx", "*.ts", "*.tsx"],
66
"options": {
7-
"singleQuote": true
8-
}
9-
},
10-
{
11-
"files": "**/*.mjs",
12-
"options": {
13-
"singleQuote": true
7+
"bracketSameLine": true
148
}
159
}
16-
]
10+
],
11+
"bracketSpacing": true
1712
}

0 commit comments

Comments
 (0)