You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message: Expected atom at position 35 定义 SVG 图标)+([^]*?)(( ^ Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/JeromeLin/zarm-web/site/components/Markdown/index.jsx:73 Rule: "unicorn/prefer-string-replace-all"
SyntaxError: Expected atom at position 35
定义 SVG 图标)+([^]*?)((
^
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/JeromeLin/zarm-web/site/components/Markdown/index.jsx:73
Rule: "unicorn/prefer-string-replace-all"
at bail (/github/workspace/node_modules/regjsparser/parser.js:1571:13)
at parseTerm (/github/workspace/node_modules/regjsparser/parser.js:584:11)
at parseAlternative (/github/workspace/node_modules/regjsparser/parser.js:548:21)
at parseDisjunction (/github/workspace/node_modules/regjsparser/parser.js:528:16)
at parse (/github/workspace/node_modules/regjsparser/parser.js:1597:18)
at getPatternReplacement (/github/workspace/rules/prefer-string-replace-all.js:30:15)
at [type="CallExpression"][optional!=true][arguments.length=2][arguments.0.type!="SpreadElement"][arguments.1.type!="SpreadElement"][callee.type="MemberExpression"][callee.computed!=true][callee.property.type="Identifier"][callee.optional!=true]:matches([callee.property.name="replace"], [callee.property.name="replaceAll"]) (/github/workspace/rules/prefer-string-replace-all.js:88:30)
at /github/workspace/rules/utils/rule.js:39:18
at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
The text was updated successfully, but these errors were encountered:
Detected 1 ESLint reports and/or crashes.
Scanned 3570 repositories.
Rules:
unicorn/prefer-string-replace-all
Click to expand
Rule: unicorn/prefer-string-replace-all
Expected atom at position 35 定义 SVG 图标)+([^]*?)(( ^ Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/JeromeLin/zarm-web/site/components/Markdown/index.jsx:73 Rule: "unicorn/prefer-string-replace-all"
JeromeLin/zarm-web/site/components/Markdown/index.jsx
The text was updated successfully, but these errors were encountered: