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

Implement custom ruleset #44

Open
ajaydsouza opened this issue Jul 28, 2017 · 3 comments
Open

Implement custom ruleset #44

ajaydsouza opened this issue Jul 28, 2017 · 3 comments

Comments

@ajaydsouza
Copy link
Contributor

One good feature worth adding into the options is the use of a custom ruleset

https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/phpcs.xml.dist.sample

I'm happy to try and have a go at this feature, but I'm not familiar with Brackets and how to update the options page for this.

Could you please point me to which files I can look at in this extension so that I could try it out?

@mikaeljorhult
Copy link
Owner

I would be great if you would like to have a go at it. Logic for the settings are in SettingsDialog.js and the view in settings-dialog.html.

It could probably be done in the same way PHP location but pointing to a directory instead.

@ajaydsouza
Copy link
Contributor Author

Thanks. I'll try to see if I can implement this. Will study how you've done the others

@mikaeljorhult
Copy link
Owner

Awesome! Let me know if you have any questions.

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