Title: Add warning for `files` / `exclude` containing `/*` · Issue #1702 · pre-commit/pre-commit · GitHub
Open Graph Title: Add warning for `files` / `exclude` containing `/*` · Issue #1702 · pre-commit/pre-commit
X Title: Add warning for `files` / `exclude` containing `/*` · Issue #1702 · pre-commit/pre-commit
Description: it's a common mistake to believe that those fields are globs, they're not -- they're regular expressions. (and matching /* is nonsense, it matches '', '/' as well as '//////////////////////////////////////////////////////'
Open Graph Description: it's a common mistake to believe that those fields are globs, they're not -- they're regular expressions. (and matching /* is nonsense, it matches '', '/' as well as '//////////////////////////////...
X Description: it's a common mistake to believe that those fields are globs, they're not -- they're regular expressions. (and matching /* is nonsense, it matches '', '/' as well as ...
Opengraph URL: https://github.com/pre-commit/pre-commit/issues/1702
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add warning for `files` / `exclude` containing `/*`","articleBody":"it's a common mistake to believe that those fields are globs, they're not -- they're regular expressions. (and matching `/*` is nonsense, it matches `''`, `'/'` as well as `'//////////////////////////////////////////////////////'`","author":{"url":"https://github.com/asottile","@type":"Person","name":"asottile"},"datePublished":"2020-11-19T18:31:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1702/pre-commit/issues/1702"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1465fa8c-c7cb-a6da-c98e-f02890dabd32 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD52:3A60C6:2B5140:3ABCFC:6A5590DF |
| html-safe-nonce | ee6298c391bfa79d7aed61c0cb216c66106b4947ac37b2f5160449cf72f50a30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDUyOjNBNjBDNjoyQjUxNDA6M0FCQ0ZDOjZBNTU5MERGIiwidmlzaXRvcl9pZCI6IjEwNDIxMDQxNjg5Njg3MjA2MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aeb5682252154e06e3f0f0a962a7d6ece7244437310d2d3f3f565328e5f3748c |
| hovercard-subject-tag | issue:746825392 |
| github-keyboard-shortcuts | repository,issues,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/1702/issue_layout |
| twitter:image | https://opengraph.githubassets.com/97538c5904a5ad603bd6eeef8ade42beed88497bbb2fbffc3032775a5318bd88/pre-commit/pre-commit/issues/1702 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/97538c5904a5ad603bd6eeef8ade42beed88497bbb2fbffc3032775a5318bd88/pre-commit/pre-commit/issues/1702 |
| og:image:alt | it's a common mistake to believe that those fields are globs, they're not -- they're regular expressions. (and matching /* is nonsense, it matches '', '/' as well as '//////////////////////////////... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asottile |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aa21baa44893467b0b640d0300538f84ca8c475b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width