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

How to ban a single extension #1605

Open
phadej opened this issue Jul 4, 2024 · 1 comment
Open

How to ban a single extension #1605

phadej opened this issue Jul 4, 2024 · 1 comment

Comments

@phadej
Copy link
Contributor

phadej commented Jul 4, 2024

The documentation snippet in readme

- extensions:
  - default: false
  - name: [DeriveDataTypeable, GeneralizedNewtypeDeriving]
  - {name: CPP, within: CompatLayer}

is "everything is forbidden, except these are allowed".

is there a way to specify "everything is allowed, except these are forbidden"?

@chungyc
Copy link
Contributor

chungyc commented Nov 2, 2024

I think this would be

- extensions:
  - default: true
  - {name: DisallowedExtension, within: []}

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

No branches or pull requests

2 participants