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

Is there a way to set no-commented-out-code #57

Open
isAlmogK opened this issue Jun 17, 2023 · 1 comment
Open

Is there a way to set no-commented-out-code #57

isAlmogK opened this issue Jun 17, 2023 · 1 comment

Comments

@isAlmogK
Copy link

Wanted to know how I can set no-commented-out-code as a rule

@MichalKliment
Copy link

MichalKliment commented Oct 20, 2023

Do you mean like exmaple? how to set the rule?

for example the etc/ prefix is important: 'etc/no-commented-out-code': 'error',

... ESlint file others code
      {
        files: ['*.ts'],
        parserOptions: {
            project: [modulePathFixed],
        },
        //  Others plugins in array ...
        extends: ['plugin:etc/recommended'],
        rules: {
            // Others rules as a key...
            'etc/no-commented-out-code': 'error',
        },
    };

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