Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refactor pattern and instances fields #38

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

e-moran
Copy link
Contributor

@e-moran e-moran commented Mar 11, 2025

Closes #37

@e-moran e-moran force-pushed the eoin/refactor-pattern-instances branch from 5c69f0e to d9d67a5 Compare March 11, 2025 14:12
Comment on lines +9 to +12
"accepted": [
"Googlebot\\/"
],
"forbidden": []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked accepted and forbidden for instances, but why did you use it here instead of include and exclude patterns.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just think that they're a little bit clearer. I read it like "accept UAs that have these patterns" and "forbid UAs that have these patterns". I'm open to suggestions though.

@e-moran e-moran marked this pull request as ready for review March 12, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor patterns and instances to allow excluding patterns
2 participants