Loading...
Loading...
Compare original and translation side by side
using-mobile-native-capabilitiesreviewing-lws-securityreviewing-lwc-rtlaccessibility-code-reviewusing-mobile-native-capabilitiesreviewing-lws-securityreviewing-lwc-rtlaccessibility-code-reviewmodules/…npx eslint@salesforce/eslint-plugin-lwc-graph-analyzermodules/…@salesforce/eslint-plugin-lwc-graph-analyzernpx eslintlwc:iflwc:if.html.js.ts.html.js.tslwc:iflwc:elseiflwc:elselwc:iflwc:elseiflwc:else.htmllwc:if={…}lwc:elseif={…}lwc:elseif:trueif:falselwc:elseiflwc:else.htmllwc:if={…}lwc:elseif={…}lwc:elseif:trueif:falselwc:elseiflwc:else@wire@wire.js.ts@wiregql@wire.js.tsgql@wire@wire@salesforce/eslint-plugin-lwc-graph-analyzerbundleAnalyzerscripts/run-komaci.sh path/to/component.js@salesforce/eslint-plugin-lwc-graph-analyzerbundleAnalyzer--format jsonmessages[*]ruleIdnpx eslint ...bundleAnalyzer@salesforce/eslint-plugin-lwc-graph-analyzerscripts/run-komaci.sh path/to/component.js@salesforce/eslint-plugin-lwc-graph-analyzerbundleAnalyzer--format jsonmessages[*]ruleIdnpx eslint ...undefinedundefined
For Komaci ESLint findings, take `startLine`/`startColumn`/`endLine`/
`endColumn` from the ESLint message's `line`/`column`/`endLine`/`endColumn`.
For Inline GraphQL and `lwc:if` findings, supply the line/column range you
observed in the source. If `endLine`/`endColumn` are not available for a
finding, fall back to `<file>:<startLine>` and omit the trailing range.
Cite the reviewer (Inline GraphQL / lwc:if / Komaci ESLint rule id) on every
finding.
对于Komaci ESLint问题,从ESLint消息的`line`/`column`/`endLine`/`endColumn`获取`起始行`/`起始列`/`结束行`/`结束列`。对于内联GraphQL和`lwc:if`问题,提供你在源代码中观察到的行/列范围。如果某个问题没有`结束行`/`结束列`,则回退到`<file>:<起始行>`,省略末尾的范围。
每个问题都要引用审查器(内联GraphQL / lwc:if / Komaci ESLint规则ID)。lwc:elseiflwc:elseiflwc:iflwc:elseiflwc:else@wiregqllwc:iflwc:elseiflwc:elsegql@wirenpx eslint@salesforce/eslint-plugin-lwc-graph-analyzerbundleAnalyzerbundleAnalyzerlwc:iflwc:ifnpx eslint@salesforce/eslint-plugin-lwc-graph-analyzerbundleAnalyzerbundleAnalyzerlwc:iflwc:if