Commits on Source (3)
-
Bastien DUMONT authored590d0525
-
Bastien DUMONT authored
test(lint): add eslint-plugin-jest See merge request !363
cd94ee76 -
Etienne LOUPIAS authoredb03ad395
Showing
- .eslintrc.js 9 additions, 2 deletions.eslintrc.js
- package-lock.json 524 additions, 620 deletionspackage-lock.json
- package.json 2 additions, 1 deletionpackage.json
- src/admin/admin.controller.spec.ts 8 additions, 8 deletionssrc/admin/admin.controller.spec.ts
- src/contact/contact.controller.spec.ts 2 additions, 2 deletionssrc/contact/contact.controller.spec.ts
- src/newsletter/newsletter.service.spec.ts 10 additions, 10 deletionssrc/newsletter/newsletter.service.spec.ts
- src/parameters/parameters.controller.spec.ts 6 additions, 6 deletionssrc/parameters/parameters.controller.spec.ts
- src/parameters/parameters.service.spec.ts 4 additions, 4 deletionssrc/parameters/parameters.service.spec.ts
- src/structures/services/structures-import.service.spec.ts 4 additions, 4 deletionssrc/structures/services/structures-import.service.spec.ts
- src/structures/services/structures.service.spec.ts 4 additions, 4 deletionssrc/structures/services/structures.service.spec.ts
- src/structures/services/structures.service.ts 1 addition, 1 deletionsrc/structures/services/structures.service.ts
- src/structures/structures.controller.spec.ts 12 additions, 12 deletionssrc/structures/structures.controller.spec.ts
- src/users/controllers/employer.controller.spec.ts 1 addition, 1 deletionsrc/users/controllers/employer.controller.spec.ts
- src/users/controllers/users.controller.spec.ts 28 additions, 28 deletionssrc/users/controllers/users.controller.spec.ts
- src/users/guards/isPersonalOfferOwner.guard.spec.ts 1 addition, 1 deletionsrc/users/guards/isPersonalOfferOwner.guard.spec.ts
- src/users/guards/isStructureOwner.guard.spec.ts 1 addition, 1 deletionsrc/users/guards/isStructureOwner.guard.spec.ts
- src/users/guards/roles.guard.spec.ts 4 additions, 4 deletionssrc/users/guards/roles.guard.spec.ts
- src/users/services/employer.service.spec.ts 3 additions, 3 deletionssrc/users/services/employer.service.spec.ts
- src/users/services/jobs.service.spec.ts 3 additions, 3 deletionssrc/users/services/jobs.service.spec.ts
- src/users/services/userRegistry-search.service.spec.ts 1 addition, 1 deletionsrc/users/services/userRegistry-search.service.spec.ts
source diff could not be displayed: it is too large. Options to address this: view the blob.
... | ... | @@ -11,7 +11,7 @@ |
"doc": "./node_modules/.bin/compodoc compodoc -p tsconfig.json -s -n 'Resin api documentation'", | ||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
"init-db": "node ./scripts/init-db.js", | ||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
"lint": "eslint src test -c .eslintrc.js --fix", | ||
"migrate:create": "migrate create --template-file ./src/migrations/migrations-utils/template.ts --migrations-dir=\"./src/migrations/scripts\" --compiler=\"ts:./src/migrations/migrations-utils/ts-compiler.js\"", | ||
"migrate:down": "migrate --migrations-dir=\"./src/migrations/scripts\" --compiler=\"ts:./src/migrations/migrations-utils/ts-compiler.js\" down", | ||
"migrate:up": "migrate --migrations-dir=\"./src/migrations/scripts\" --compiler=\"ts:./src/migrations/migrations-utils/ts-compiler.js\" up", | ||
... | ... | @@ -50,6 +50,7 @@ |
"class-validator": "^0.13.2", | ||
"dotenv": "^16.0.3", | ||
"ejs": "^3.1.8", | ||
"eslint-plugin-jest": "^27.6.1", | ||
"form-data": "^4.0.0", | ||
"lodash": "^4.17.21", | ||
"luxon": "^1.25.0", | ||
... | ... |