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

Docs: fix fixable example #15107

Merged
merged 1 commit into from Sep 27, 2021
Merged

Docs: fix fixable example #15107

merged 1 commit into from Sep 27, 2021

Commits on Sep 27, 2021

  1. Docs: fix fixable example

    The example should be:
    
    ```js
    module.exports = {
        meta: {
            fixable: "code" // or "whitespace"
        },
        create(context) {
            // your rule
        }
    };
    ```
    
    instead of
    
    
    ```js
    module.exports = function(context) {
        meta: {
            fixable: "code" // or "whitespace"
        },
        create(context) {
            // your rule
        }
    };
    ```
    QC-L committed Sep 27, 2021
    Copy the full SHA
    63e3419 View commit details
    Browse the repository at this point in the history