Skip to content

Commit 7447cdc

Browse files
committed
chore: add prettier for code formatting
1 parent d0731e9 commit 7447cdc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": "1.1.0",
44
"description": "Node-RED nodes to talk to Arduino IoT Cloud",
55
"scripts": {
6-
"test": "echo \"Error: no test specified\" && exit 1"
6+
"test": "echo \"Error: no test specified\" && exit 1",
7+
"fmt": "prettier --write .",
8+
"fmt-check": "prettier --check ."
79
},
810
"keywords": [
911
"node-red",
@@ -26,6 +28,9 @@
2628
"mqtt": "^3.0.0",
2729
"superagent": "^6.1.0"
2830
},
31+
"devDependencies": {
32+
"prettier": "^3.4.2"
33+
},
2934
"repository": {
3035
"type": "git",
3136
"url": "git+https://github.com/arduino/node-red-contrib-arduino-iot-cloud.git"

0 commit comments

Comments
 (0)