mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-28 01:09:11 +03:00
8483cf0b4b
* chore: use Nx workspace lint rules Closes #3162 * Fix lint * Fix lint on BE * Fix tests --------- Co-authored-by: Charles Bochet <charles@twenty.com>
28 lines
613 B
JSON
28 lines
613 B
JSON
{
|
|
"name": "eslint-rules",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "tools/eslint-rules",
|
|
"targets": {
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": [
|
|
"{options.outputFile}"
|
|
],
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"tools/eslint-rules/**/*.ts"
|
|
],
|
|
"fix": true
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": [
|
|
"{workspaceRoot}/coverage/{projectRoot}"
|
|
],
|
|
"options": {
|
|
"jestConfig": "tools/eslint-rules/jest.config.ts"
|
|
}
|
|
}
|
|
}
|
|
} |