Skip to content

Commit ba06465

Browse files
authored
Chore: run prettier on vNext-dev (mqttjs#1446)
1 parent a92b8a5 commit ba06465

29 files changed

+944
-948
lines changed

.prettierrc

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
{
2-
"extends": ["prettier"],
3-
"plugins": ["prettier"],
4-
"rules": {
5-
"prettier/prettier": "error",
6-
"arrow-body-style": "off",
7-
"prefer-arrow-callback": "off"
8-
}
9-
}
1+
semi: true
2+
singleQuote: true
3+
printWidth: 132

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"build": "tsc",
3030
"test": "npm run build && nyc ava -r pino-debug | pino-pretty",
3131
"lint": "eslint . --ext .ts",
32-
"prettier": "eslint-config-prettier .",
33-
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write"
32+
"prettier": "prettier 'src/**/*.ts' 'test/**/*.js' --write"
3433
},
3534
"dependencies": {
3635
"duplexify": "^4.1.2",

0 commit comments

Comments
 (0)