Skip to content

creating stripe checkout session endpoint #22

creating stripe checkout session endpoint

creating stripe checkout session endpoint #22

Triggered via pull request June 4, 2024 01:04
Status Failure
Total duration 1m 35s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
run-lint: backend/typescript/rest/stripeRoute.ts#L1
'/home/runner/work/don-efficace/don-efficace/backend/typescript/node_modules/express/index.js' imported multiple times
run-lint: backend/typescript/rest/stripeRoute.ts#L2
'/home/runner/work/don-efficace/don-efficace/backend/typescript/node_modules/express/index.js' imported multiple times
run-lint: backend/typescript/rest/stripeRoute.ts#L10
Expected exception block, space or tab after '//' in comment
run-lint: backend/typescript/rest/stripeRoute.ts#L11
Expected exception block, space or tab after '//' in comment
run-lint: backend/typescript/rest/stripeRoute.ts#L14
Replace `"/create-checkout-session-payment",` with `⏎··"/create-checkout-session-payment",⏎··`
run-lint: backend/typescript/rest/stripeRoute.ts#L16
Replace `user_id,·amount,·cause_id` with `·user_id,·amount,·cause_id·`
run-lint: backend/typescript/rest/stripeRoute.ts#L16
Variable name `user_id` must match one of the following formats: camelCase, PascalCase, UPPER_CASE
run-lint: backend/typescript/rest/stripeRoute.ts#L16
Variable name `cause_id` must match one of the following formats: camelCase, PascalCase, UPPER_CASE
run-lint: backend/typescript/rest/stripeRoute.ts#L17
Replace `user_id,·amount,·cause_id` with `⏎········user_id,⏎········amount,⏎········cause_id,⏎······`
run-lint: backend/typescript/rest/stripeRoute.ts#L21
Replace `.status(500)` with `⏎········.status(500)⏎········`
run-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, dorny/paths-filter@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-lint: backend/typescript/models/entity.model.ts#L1
'Column' is defined but never used
run-lint: backend/typescript/models/entity.model.ts#L1
'Table' is defined but never used
run-lint: backend/typescript/models/entity.model.ts#L1
'DataType' is defined but never used
run-lint: backend/typescript/models/entity.model.ts#L6
'Entity' is defined but never used
run-lint: backend/typescript/models/simpleEntity.model.ts#L1
'Column' is defined but never used
run-lint: backend/typescript/models/simpleEntity.model.ts#L1
'Table' is defined but never used
run-lint: backend/typescript/models/simpleEntity.model.ts#L1
'DataType' is defined but never used
run-lint: backend/typescript/models/simpleEntity.model.ts#L6
'SimpleEntity' is defined but never used
run-lint: backend/typescript/models/user.model.ts#L1
'Column' is defined but never used
run-lint: backend/typescript/models/user.model.ts#L1
'DataType' is defined but never used