[prettier] Remove json from .prettierignore

This commit is contained in:
Sergey Konovalov
2025-08-29 11:18:38 +03:00
parent 44a7a5f956
commit 751b33b222
3 changed files with 16 additions and 7 deletions

View File

@ -45,7 +45,7 @@ jobs:
run: npm ci
- name: Run ESLint
run: npm run lint
run: npm run lint:check
- name: Check Prettier formatting
run: npm run format:check

View File

@ -18,5 +18,14 @@ npm-shrinkwrap.json
Metrics/config/config.js
SpellChecker/sources/server.js
# Config JSON files (tab-indented)
Common/config/**/*.json
# Patterns merged from .gitignore
.idea/
Common/config/local.json
license.lic
App_Data/
FileConverter/bin
DocService/npm-debug.log
/Gruntfile.js.out
local-development-*.json
*.pyc
run-develop-local.py

View File

@ -23,12 +23,12 @@
"prettier": "3.4.2"
},
"scripts": {
"lint": "eslint .",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier . --write",
"format:fix": "prettier . --write",
"format:check": "prettier . --check",
"code:check": "run-s lint format:check",
"code:fix": "run-s lint:fix format",
"code:check": "run-s lint:check format:check",
"code:fix": "run-s lint:fix format:fix",
"prepare": "husky",
"perf-expired": "cd ./DocService&& cross-env NODE_ENV=development-windows NODE_CONFIG_DIR=../Common/config node ../tests/perf/checkFileExpire.js",
"perf-exif": "cd ./DocService&& cross-env NODE_ENV=development-windows NODE_CONFIG_DIR=../Common/config node ../tests/perf/fixImageExifRotation.js",