mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[prettier] Remove json from .prettierignore
This commit is contained in:
2
.github/workflows/lint-format.yml
vendored
2
.github/workflows/lint-format.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user