Skip to content

FEAT: Regex in ignores option (component-name-in-template-casing) #705

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

Closed
emmanuelvlad opened this issue Dec 4, 2018 · 2 comments
Closed

Comments

@emmanuelvlad
Copy link

Feature
Possibility to add a regex in the ignores option

Example

{
	"vue/component-name-in-template-casing": ["error", "PascalCase", {
		"ignores": [/v-(.*)/]
	}]
}
@emmanuelvlad
Copy link
Author

It's kinda fixed for me in #714 but still a good feature to have

@ota-meshi
Copy link
Member

Changed to be able to set regexp for ignores option in PR #714.

Example

{
	"vue/component-name-in-template-casing": ["error", "PascalCase", {
		"ignores": ["/v-(.*)/"]
	}]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants