Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
fix(eslint-plugin): [no-redundant-type-constituents] skip reporting when type is a recursive array type#725
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| # IMPORTANT: Do not reuse old name of "Semantic PR Titles" here | |
| name:PR Title Validation | |
| on: | |
| # WARNING: Using pull_request_target here because we want to validate PRs on forks | |
| # pull_request_target can be UNSAFE because it runs in the TARGET repo context (not fork context). | |
| # DO NOT CHECK OUT THE REPO IN THIS WORKFLOW | |
| pull_request_target: | |
| types: | |
| -opened | |
| -edited | |
| -synchronize | |
| # IMPORTANT: Minimal permissions necessary for this workflow to function | |
| permissions: | |
| pull-requests:read | |
| jobs: | |
| validate: | |
| name:Validate PR title | |
| runs-on:ubuntu-latest | |
| steps: | |
| -uses:amannn/action-semantic-pull-request@v5 | |
| env: | |
| GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| # keep this synchronized with /docs/contributing/Pull_Requests.mdx | |
| types:| | |
| docs | |
| feat | |
| fix | |
| test | |
| chore | |
| # deps is used by renovate for its PRs | |
| scopes:| | |
| deps | |
| ast-spec | |
| eslint-plugin | |
| eslint-plugin-internal | |
| parser | |
| project-service | |
| rule-schema-to-typescript-types | |
| rule-tester | |
| scope-manager | |
| tsconfig-utils | |
| type-utils | |
| types | |
| typescript-eslint | |
| typescript-estree | |
| utils | |
| visitor-keys | |
| website | |
| # we allow "cross package" PRs with no scope | |
| requireScope:false | |
| # ensure that the subject is lower-case first | |
| # also allows "[rule-name] " / "[rule-name, rule-name] " prefix for eslint-plugin rule PRs | |
| # https://regexr.com/73m7b | |
| subjectPattern:^(\[[a-z\-]+(, [a-z\-]+)*\] )?[a-z].+[^\.]$ | |
| subjectPatternError:| | |
| The "subject" must start with a lower-case letter and must not | |
| end with a full-stop. | |
| For PRs that add or change ESLint-plugin rules, you should begin | |
| the title with "[rule-name] " |