JSPM

stylelint-formatter-codeclimate

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 776
    • Score
      100M100P100Q106280F
    • License MIT

    A CodeClimate compatible formatter for Stylelint

    Package Exports

    • stylelint-formatter-codeclimate

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stylelint-formatter-codeclimate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    stylelint-formatter-codeclimate

    A CodeClimate compatible formatter for Stylelint

    GitLab Latest stable version Build status Coverage status Minimal NodeJS version License

    Install

    Using npm:

    npm install --save-dev stylelint-formatter-codeclimate

    Using yarn:

    yarn add --dev stylelint-formatter-codeclimate

    Using pnpm:

    pnpm install --dev stylelint-formatter-codeclimate

    Usage

    Stylelint CLI

    npx stylelint "*.css" --custom-formatter=node_modules/stylelint-formatter-codeclimate

    GitLab CI

    lint:
      script:
        - npx stylelint "*.css" --custom-formatter=node_modules/stylelint-formatter-codeclimate --output-file=gl-code-quality-report.json
    
      artifacts:
        reports:
          codeclimate: gl-code-quality-report.json