Skip to content

Static analysis tool that validates your project files with EditorConfig

License

Notifications You must be signed in to change notification settings

dantevvp/codeclimate-editorconfig

Repository files navigation

Code Climate EditorConfig License Build Status Coverage Status

Static analysis tool that validates your project files with EditorConfig

Usage with codeclimate.com

Enable the engine through the beta channel in your .codeclimate.yml file:

plugins:
  editorconfig:
    enabled: true
    channel: beta

Local Usage (development)

  • install Docker

  • install the Code Climate CLI

  • clone this repo and build the docker image:

    curl -L https://github.com/ahmadnassri/codeclimate-editorconfig/archive/master.tar.gz | tar xvz
    cd codeclimate-editorconfig-master
    make image
  • add editorconfig to your .codeclimate.yml file:

    plugins:
      editorconfig:
        enabled: true
  • run Code Climate CLI with the --dev flag

    $ codeclimate analyze --dev
    
    Starting analysis
    Running editorconfig: Done!
    
    == README.md (1 issue) ==
    18: Expected an indentation at 2 instead of at 1. [editorconfig]
    
    Analysis complete! Found 1 issue.

©️ ahmadnassri.com • License: ISC • Github: @ahmadnassri • Twitter: @ahmadnassri

About

Static analysis tool that validates your project files with EditorConfig

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published