Nuclear Pumpkin Mocha

    @zero-scripts/extension.webpack-eslint
    TypeScript icon, indicating that this package has built-in type declarations

    0.5.2 • Public • Published

    @zero-scripts/extension.webpack-eslint

    Lint JavaScript code using ESLint

    Installation

    yarn

    yarn add -D @zero-scripts/extension.webpack-eslint
    

    npm

    npm i -D @zero-scripts/extension.webpack-eslint
    

    Options

    Option Type Default
    plugins string[] []
    extends string[] []
    rules { [string]: string[] or any[] } {}
    env { [string]: boolean } {}
    parserOptions { [string]: any } {}
    settings { [string]: any } {}

    Passing options

    package.json

    {
      "devDependencies": {
        "@zero-scripts/extension.webpack-eslint": "latest"
      },
    +  "zero-scripts": {
    +    "extension.webpack-eslint": {
    +      "rules": {
    +        "no-console": "error",
    +        "import-helpers/order-imports": [
    +          "warn",
    +          {
    +            "newlinesBetween": "always",
    +            "groups": [
    +              "module",
    +              ["parent", "sibling", "index"]
    +            ],
    +            "alphabetize": { "order": "asc", "ignoreCase": true }
    +          }
    +        ]
    +      },
    +      "plugins": [
    +        "eslint-plugin-import-helpers"
    +      ]
    +    }
    +  }
    }
    

    Main documentation

    Install

    npm i @zero-scripts/extension.webpack-eslint

    DownloadsWeekly Downloads

    3

    Version

    0.5.2

    License

    MIT

    Unpacked Size

    17.2 kB

    Total Files

    15

    Last publish

    Collaborators

    • artemir