| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -103,9 +103,9 @@ subSystemLabels: | |||
| 103 | 103 | /^lib\/internal\/quic\/*/: quic, dont-land-on-v14.x, dont-land-on-v12.x | |
| 104 | 104 | ||
| 105 | 105 | # All other lib/ files map directly | |
| 106 | - /^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap | ||
| 107 | - /^lib(\/internal)?\/(\w+)\.js?$/: $2 # other .js files | ||
| 108 | - /^lib\/internal\/(\w+)(?:\/|$)/: $1 # internal subfolders | ||
| 106 | + /^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap | ||
| 107 | + /^lib(\/internal)?\/(\w+)\.js?$/: $2 # Other .js files | ||
| 108 | + /^lib\/internal\/(\w+)(?:\/|$)/: $1 # internal subfolders | ||
| 109 | 109 | ||
| 110 | 110 | exlusiveLabels: | |
| 111 | 111 | # more specific tests | |
@@ -125,26 +125,26 @@ exlusiveLabels: | |||
| 125 | 125 | ||
| 126 | 126 | /^test\//: test | |
| 127 | 127 | ||
| 128 | - # specific map for webcrypto.md as it should be labeled 'crypto' | ||
| 128 | + # Specific map for webcrypto.md as it should be labeled 'crypto' | ||
| 129 | 129 | /^doc\/api\/webcrypto.md$/: doc, crypto | |
| 130 | - # specific map for modules.md as it should be labeled 'module' not 'modules' | ||
| 130 | + # Specific map for modules.md as it should be labeled 'module' not 'modules' | ||
| 131 | 131 | /^doc\/api\/modules.md$/: doc, module | |
| 132 | - # node-api is treated separately since it is not a JS core module but is still | ||
| 133 | - # considered a subsystem of sorts | ||
| 132 | + # node-api is treated separately since it is not a JS core module but is still | ||
| 133 | + # considered a subsystem of sorts | ||
| 134 | 134 | /^doc\/api\/n-api.md$/: doc, node-api | |
| 135 | - # quic | ||
| 135 | + # quic | ||
| 136 | 136 | /^doc\/api\/quic.md$/: doc, quic, dont-land-on-v14.x, dont-land-on-v12.x | |
| 137 | - # add worker label to PRs that affect doc/api/worker_threads.md | ||
| 137 | + # Add worker label to PRs that affect doc/api/worker_threads.md | ||
| 138 | 138 | /^doc\/api\/worker_threads.md$/: doc, worker | |
| 139 | - # automatically tag JS subsystem-specific API doc changes | ||
| 139 | + # Automatically tag JS subsystem-specific API doc changes | ||
| 140 | 140 | /^doc\/api\/(\w+)\.md$/: doc, $1 | |
| 141 | - # add deprecations label to PRs that affect doc/api/deprecations.md | ||
| 141 | + # Add deprecations label to PRs that affect doc/api/deprecations.md | ||
| 142 | 142 | /^doc\/api\/deprecations.md$/: doc, deprecations | |
| 143 | 143 | /^doc\/changelogs\//: release | |
| 144 | 144 | ||
| 145 | 145 | /^doc\//: doc | |
| 146 | 146 | ||
| 147 | - # more specific benchmarks | ||
| 147 | + # More specific benchmarks | ||
| 148 | 148 | /^benchmark\/buffers\//: benchmark, buffer | |
| 149 | 149 | /^benchmark\/(?:arrays|es)\//: benchmark, v8 engine | |
| 150 | 150 | /^benchmark\/_http/: benchmark, http | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,15 +12,15 @@ jobs: | |||
| 12 | 12 | steps: | |
| 13 | 13 | - uses: actions/checkout@v2 | |
| 14 | 14 | with: | |
| 15 | - fetch-depth: '0' # this is required to actually get all the authors | ||
| 16 | - - run: "tools/update-authors.js" # run the AUTHORS tool | ||
| 17 | - - uses: gr2m/create-or-update-pull-request-action@v1 # create a PR or update the Action's existing PR | ||
| 15 | + fetch-depth: '0' # This is required to actually get all the authors | ||
| 16 | + - run: "tools/update-authors.js" # Run the AUTHORS tool | ||
| 17 | + - uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR | ||
| 18 | 18 | env: | |
| 19 | 19 | GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }} | |
| 20 | 20 | with: | |
| 21 | 21 | author: Node.js GitHub Bot <github-bot@iojs.org> | |
| 22 | 22 | body: "If this PR exists, there's presumably new additions to the AUTHORS file. This is an automatically generated PR by the `authors.yml` GitHub Action, which runs `tools/update-authors.js` and submits a new PR or updates an existing PR.\n\nPlease note that there might be duplicate entries. If there are, please remove them and add the duplicate emails to .mailmap directly to this PR." | |
| 23 | - branch: "actions/authors-update" # custom branch *just* for this Action. | ||
| 23 | + branch: "actions/authors-update" # Custom branch *just* for this Action. | ||
| 24 | 24 | commit-message: "meta: update AUTHORS" | |
| 25 | 25 | labels: meta | |
| 26 | 26 | title: "meta: update AUTHORS" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,3 @@ | |||
| 1 | - --- | ||
| 2 | 1 | name: Auto Start CI | |
| 3 | 2 | ||
| 4 | 3 | on: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,26 +1,26 @@ | |||
| 1 | 1 | name: Close stalled issues and PRs | |
| 2 | 2 | on: | |
| 3 | 3 | schedule: | |
| 4 | - - cron: "0 0 * * *" | ||
| 4 | + - cron: "0 0 * * *" | ||
| 5 | 5 | ||
| 6 | 6 | jobs: | |
| 7 | 7 | stale: | |
| 8 | 8 | if: github.repository == 'nodejs/node' | |
| 9 | 9 | runs-on: ubuntu-latest | |
| 10 | 10 | steps: | |
| 11 | - - uses: actions/stale@v3 | ||
| 12 | - with: | ||
| 13 | - repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
| 14 | - days-before-close: 30 | ||
| 15 | - stale-pr-label: stalled | ||
| 16 | - stale-issue-label: stalled | ||
| 17 | - close-issue-message: Closing this because it has stalled. Feel free to reopen if this issue is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. | ||
| 18 | - close-pr-message: Closing this because it has stalled. Feel free to reopen if this PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. | ||
| 19 | - # used to filter issues to check whether or not should be closed, avoids hitting maximum operations allowed if needing to paginate through all open issues | ||
| 20 | - only-labels: stalled | ||
| 21 | - # max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits | ||
| 22 | - operations-per-run: 500 | ||
| 23 | - # deactivates automatic removal of stalled label if issue gets any activity | ||
| 24 | - remove-stale-when-updated: false | ||
| 25 | - # deactivates automatic stale labelling as we prefer to do that manually | ||
| 26 | - days-before-stale: -1 | ||
| 11 | + - uses: actions/stale@v3 | ||
| 12 | + with: | ||
| 13 | + repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
| 14 | + days-before-close: 30 | ||
| 15 | + stale-pr-label: stalled | ||
| 16 | + stale-issue-label: stalled | ||
| 17 | + close-issue-message: Closing this because it has stalled. Feel free to reopen if this issue is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. | ||
| 18 | + close-pr-message: Closing this because it has stalled. Feel free to reopen if this PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. | ||
| 19 | + # used to filter issues to check whether or not should be closed, avoids hitting maximum operations allowed if needing to paginate through all open issues | ||
| 20 | + only-labels: stalled | ||
| 21 | + # max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits | ||
| 22 | + operations-per-run: 500 | ||
| 23 | + # deactivates automatic removal of stalled label if issue gets any activity | ||
| 24 | + remove-stale-when-updated: false | ||
| 25 | + # deactivates automatic stale labelling as we prefer to do that manually | ||
| 26 | + days-before-stale: -1 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,3 @@ | |||
| 1 | - --- | ||
| 2 | 1 | # This action requires the following secrets to be set on the repository: | |
| 3 | 2 | # GH_USER_NAME: GitHub user whose Jenkins and GitHub token are defined below | |
| 4 | 3 | # GH_USER_TOKEN: GitHub user token, to be used by ncu and to push changes | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,8 +12,8 @@ jobs: | |||
| 12 | 12 | runs-on: ubuntu-latest | |
| 13 | 13 | steps: | |
| 14 | 14 | - uses: actions/checkout@v2 | |
| 15 | - - run: "./tools/license-builder.sh" # run the license builder tool | ||
| 16 | - - uses: gr2m/create-or-update-pull-request-action@v1.x # create a PR or update the Action's existing PR | ||
| 15 | + - run: "./tools/license-builder.sh" # Run the license builder tool | ||
| 16 | + - uses: gr2m/create-or-update-pull-request-action@v1.x # Create a PR or update the Action's existing PR | ||
| 17 | 17 | env: | |
| 18 | 18 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 19 | 19 | with: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,15 @@ | |||
| 1 | - extends: relaxed | ||
| 1 | + extends: default | ||
| 2 | 2 | ||
| 3 | 3 | rules: | |
| 4 | + document-start: | ||
| 5 | + present: false | ||
| 4 | 6 | line-length: disable | |
| 7 | + truthy: | ||
| 8 | + allowed-values: ['true', 'false', 'on', 'off'] | ||
| 5 | 9 | ||
| 6 | 10 | ignore: | | |
| 7 | 11 | /deps/ | |
| 8 | 12 | node_modules/ | |
| 13 | + /test/fixtures/wpt/ | ||
| 14 | + /tools/gyp/ | ||
| 15 | + /tools/pip/ | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,14 +1,14 @@ | |||
| 1 | 1 | ## Docs-specific linter rules | |
| 2 | 2 | ||
| 3 | 3 | rules: | |
| 4 | - # ease some restrictions in doc examples | ||
| 4 | + # Ease some restrictions in doc examples | ||
| 5 | 5 | no-restricted-properties: off | |
| 6 | 6 | no-undef: off | |
| 7 | 7 | no-unused-expressions: off | |
| 8 | 8 | no-unused-vars: off | |
| 9 | 9 | symbol-description: off | |
| 10 | 10 | ||
| 11 | - # add new ECMAScript features gradually | ||
| 11 | + # Add new ECMAScript features gradually | ||
| 12 | 12 | no-var: error | |
| 13 | 13 | prefer-const: error | |
| 14 | 14 | prefer-rest-params: error | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ rules: | |||
| 6 | 6 | no-buffer-constructor: error | |
| 7 | 7 | no-mixed-operators: | |
| 8 | 8 | - error | |
| 9 | - - groups: [[ "&&", "||" ]] | ||
| 9 | + - groups: [["&&", "||"]] | ||
| 10 | 10 | no-restricted-syntax: | |
| 11 | 11 | # Config copied from .eslintrc.js | |
| 12 | 12 | - error | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,8 @@ rules: | |||
| 8 | 8 | - properties: 'never' | |
| 9 | 9 | ignoreDestructuring: true | |
| 10 | 10 | allow: ['child_process'] | |
| 11 | - no-unused-vars: [error, { args: 'after-used' }] | ||
| 11 | + no-unused-vars: | ||
| 12 | + - error | ||
| 13 | + - args: 'after-used' | ||
| 12 | 14 | prefer-arrow-callback: error | |
| 13 | 15 | no-var: error | |
| Back | FazBrowse Home | New Git URL |
0 commit comments