Files
it-smi/project.json
T
arswarog efba11d83f chore: настройка линтинга, форматирования и проверок
ESLint 9 flat config, Prettier, Stylelint, husky-хуки, lint-staged и nx-таргеты проверок
в корневом project.json.
2026-10-26 20:31:02 +03:00

38 lines
1.0 KiB
JSON

{
"name": "geo-platform",
"$schema": "./node_modules/nx/schemas/project-schema.json",
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"options": {
"lintFilePatterns": [
"tools/**/*.{ts,js}",
"*.{ts,mjs}"
],
"fix": true
}
},
"lint-check": {
"executor": "@nx/eslint:lint",
"options": {
"lintFilePatterns": [
"tools/**/*.{ts,js}",
"*.{ts,mjs}"
]
}
},
"format": {
"executor": "nx:run-commands",
"options": {
"command": "prettier --write . \"!apps/**\" \"!packages/**\""
}
},
"format-check": {
"executor": "nx:run-commands",
"options": {
"command": "prettier --check . \"!apps/**\" \"!packages/**\""
}
}
}
}