Skip to content

fix: skip parseESlint if eslint filepath is a js file (#510) #290

fix: skip parseESlint if eslint filepath is a js file (#510)

fix: skip parseESlint if eslint filepath is a js file (#510) #290

Triggered via push July 11, 2024 16:26
Status Failure
Total duration 1m 41s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
lint: src/core/ctx.ts#L116
Unescaped source character '{'
lint: src/core/ctx.ts#L116
Unescaped source character '}'
lint: src/core/ctx.ts#L117
Unescaped source character '{'
lint: src/core/ctx.ts#L117
Unescaped source character '}'
lint: src/core/ctx.ts#L127
The quantifier '[^\s'"]+' can exchange characters with '.+?'. Using any string accepted by /:+/, this can be exploited to cause at least polynomial backtracking
lint: src/core/ctx.ts#L127
The quantifier '[^\s'"]+' can exchange characters (:) with '.+?'. This makes the capturing group misleading, because the quantifier will capture fewer characters than its pattern suggests
lint: src/core/ctx.ts#L127
The quantifier '\s*' can exchange characters with '.+?'. Using any string accepted by /[\t\x0b\f \xa0\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]+/, this can be exploited to cause at least polynomial backtracking
lint
Process completed with exit code 1.
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: src/core/ctx.ts#L114
The 'm' flag is unnecessary because the pattern does not contain start (^) or end ($) assertions
test (lts/*, ubuntu-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (lts/*, macos-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (lts/*, windows-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/