mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 12:23:52 +01:00
tweak code formatting rules
* output as "json-stringify" (which is most similar to most files currently in the repository) * add .editorconfig * drop (now) superfluous pretter settings * add npm commands to check code style
This commit is contained in:
parent
627ced35bb
commit
21fc458f14
4 changed files with 23 additions and 5 deletions
|
|
@ -11,12 +11,15 @@
|
|||
"license": "ISC",
|
||||
"main": "build.js",
|
||||
"scripts": {
|
||||
"lint": "prettier --check data",
|
||||
"lint:fix": "prettier --write data",
|
||||
"build": "node scripts/build.js",
|
||||
"dist": "node scripts/dist.js",
|
||||
"test": "node scripts/test.js",
|
||||
"translations": "node scripts/translations.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ideditor/schema-builder": "~4.0.5"
|
||||
"@ideditor/schema-builder": "~4.0.5",
|
||||
"prettier": "~2.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue