Skip to content

Commit a491d0b

Browse files
committed
chore: add top-level .prettierrc
This integrates better with editor tools.
1 parent b51b576 commit a491d0b

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.eslintrc.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,7 @@ module.exports = {
7878
message: "'setImmediate' unavailable in JavaScript. Use 'setTimeout(fn, 0)' instead",
7979
},
8080
],
81-
'prettier/prettier': [
82-
'warn',
83-
{
84-
singleQuote: true,
85-
trailingComma: 'all',
86-
printWidth: 100,
87-
},
88-
],
81+
'prettier/prettier': ['warn'],
8982
'unused-imports/no-unused-imports': 'error',
9083
},
9184
overrides: [

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all",
4+
"printWidth": 100
5+
}

0 commit comments

Comments
 (0)