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
Add ESLint rule to enforce "pull request" over "PR" in user-facing strings (#7693)
* Initial plan
* Initial plan for PR lint rule implementation
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Implement ESLint rule to detect PR in user-facing strings
- Add no-pr-in-user-strings.js rule to detect PR in vscode.l10n.t() calls
- Export rule from build/eslint-rules/index.js
- Configure rule as error level in .eslintrc.js
- Rule uses word boundary regex to detect standalone 'PR'
- Successfully detects existing issue in issueFeatureRegistrar.ts
The rule correctly identifies 1 existing violation which will need to be fixed
in a follow-up commit to demonstrate the rule is working properly.
* Fix PR reference in user-facing string to use pull request
Replace 'PR' with 'pull request' in @githubpr Summarize command to comply with new ESLint rule
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* remove proposed change
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
0 commit comments