Wondering what’s next for npm?Check out our public roadmap! »

    @bmatei/eslint-builder-angular
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.1 • Public • Published

    ESLint builder for Angular

    Run ESLint from Angular CLI.

    Please note that this builder runs ESLint using the CLI engine and not by creating the TS program directly. It's still pretty experimental.

    Install

    1. Install ESLint: npm install eslint --save-dev
    2. Install the builder: npm install @bmatei/stylelint-builder-angular --save-dev
    3. Add the builder to angular.json:
    "eslint": {
      "builder": "@bmatei/eslint-builder-angular:lint"
    }
    
    1. Run stylelint: ng run <project>:stylelint

    Available options

    Some options correspond to the ESLint config parameters. By default, these do not override any behavior in ESLint.

    1. cache
    2. cacheLocation
    3. configFile
    4. files
      • Array of glob patterns to be checked.
      • Default: ["src/**/*.ts"]
    5. fix
    6. force
      • Ignore any errors and warnings and return a success status.
      • Default: false
    7. format
    8. reportUnusedDisableDirectives
    9. silent
      • Suppress any output from the builder.
      • Default: false
    10. useEslintrc

    Install

    npm i @bmatei/eslint-builder-angular

    DownloadsWeekly Downloads

    18

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    18.5 kB

    Total Files

    34

    Last publish

    Collaborators

    • avatar