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

Implemented no-todo code style rule. #56

Merged
merged 2 commits into from
Mar 29, 2022

Conversation

arturocuya
Copy link
Contributor

No description provided.

},
CommentStatement: e => {
if (validateTodo) {
console.log('this.lintContext', this.lintContext);
Copy link
Contributor

Choose a reason for hiding this comment

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

No logs

src/util.ts Outdated
@@ -97,6 +97,8 @@ function tryLoadConfig(filename: string): BsLintConfig | undefined {
export interface PluginContext {
program: Readonly<Program>;
severity: Readonly<BsLintRules>;
// TODO: Is this the right place to put this?
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes! Though I'm not sure how well it will scale as rules are added...

Copy link
Contributor

@philippe-elsass-deltatre philippe-elsass-deltatre left a comment

Choose a reason for hiding this comment

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

Lovely addition!

@arturocuya
Copy link
Contributor Author

@philippe-elsass-deltatre I just updated the code to remove the console.log and the TODO comment :)

@elsassph elsassph merged commit e730954 into rokucommunity:master Mar 29, 2022
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.

3 participants