Sign inSign up

ahmadnassri/codeclimate-editorconfig

By ahmadnassri

•Updated over 8 years ago

Static analysis tool that validates your project files with EditorConfig

Image
0

1.4K

ahmadnassri/codeclimate-editorconfig repository overview

⁠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.
    

:copyright: ahmadnassri.com⁠ • License: ISC⁠ • Github: @ahmadnassri⁠ • Twitter: @ahmadnassri⁠

Tag summary

Content type

Image

Digest

Size

23.7 MB

Last updated

over 8 years ago

docker pull ahmadnassri/codeclimate-editorconfig