mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
chore: enforce prettier configuration
In order to avoid reformatting of the code this PR add a prettier configuration as well as scripts to automatically format apply the rules
This commit is contained in:
parent
f6fea65063
commit
3f899c8445
19 changed files with 3477 additions and 3474 deletions
|
|
@ -5,6 +5,8 @@
|
|||
"main": "src/index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"prettier": "prettier --check src",
|
||||
"prettier-write": "prettier --write src",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Liam Cottle <liam@liamcottle.com>",
|
||||
|
|
@ -12,5 +14,8 @@
|
|||
"dependencies": {
|
||||
"@noble/curves": "^1.8.1",
|
||||
"serialport": "^13.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.6.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue