Added tasks
This commit is contained in:
8
scripts/format_documents.ps1
Normal file
8
scripts/format_documents.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
git add .
|
||||
git commit
|
||||
|
||||
npx prettier --write "source/**/*.json" --config ./scripts/json.prettierrc.json
|
||||
git submodule foreach git add **/*.json
|
||||
git submodule foreach git commit -m "auto: Formatted json files"
|
||||
git add **/*.json
|
||||
git commit -m "auto: Formatted json files"
|
||||
9
scripts/json.prettierrc.json
Normal file
9
scripts/json.prettierrc.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"tabWidth": 2,
|
||||
"printWidth": 180,
|
||||
"useTabs": false,
|
||||
"bracketSpacing": true,
|
||||
"arrowParens": "always",
|
||||
"endOfLine": "crlf",
|
||||
"embeddedLanguageFormatting": "auto"
|
||||
}
|
||||
Reference in New Issue
Block a user