eslint-plugin-material-ui

    1.0.1 • Public • Published

    eslint-plugin-material-ui

    Custom eslint rules for Material-UI

    Installation

    You'll first need to install ESLint:

    $ npm i eslint --save-dev
    

    Next, install eslint-plugin-material-ui:

    $ npm install eslint-plugin-material-ui --save-dev
    

    Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-material-ui globally.

    Usage

    Add material-ui to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

    {
        "plugins": [
            "material-ui"
        ]
    }

    Then configure the rules you want to use under the rules section.

    {
        "rules": {
            "material-ui/rule-name": 2
        }
    }

    Supported Rules

    • ignore-before-comment

    Install

    npm i eslint-plugin-material-ui

    DownloadsWeekly Downloads

    1,063

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar