Skip to content

Commit 7443b26

Browse files
author
devgioele
committed
set trailingComma option to 'all'
1 parent d7e846f commit 7443b26

5 files changed

Lines changed: 36 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json.schemastore.org/prettierrc",
3-
"trailingComma": "es5",
3+
"trailingComma": "all",
44
"semi": false,
55
"singleQuote": true
66
}

package-lock.json

Lines changed: 28 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"node": "^16"
1313
},
1414
"scripts": {
15+
"format": "prettier -w .",
1516
"postversion": "git push && git push --tags"
1617
},
1718
"repository": {
@@ -28,5 +29,8 @@
2829
"url": "https://github.com/aboutbits/prettier-config/issues"
2930
},
3031
"homepage": "https://github.com/aboutbits/prettier-config",
31-
"prettier": "./index.json"
32+
"prettier": "./index.json",
33+
"devDependencies": {
34+
"prettier": "^3.0.0"
35+
}
3236
}

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const aboutBitsConfig = require('@aboutbits/prettier-config')
3131

3232
module.exports = {
3333
...aboutBitsConfig,
34-
singleQuote: false
34+
singleQuote: false,
3535
}
3636
```
3737

0 commit comments

Comments
 (0)