diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000000..401b7feb48 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,47 @@ +--- +engines: + markdownlint: + enabled: true + phan: + enabled: true + config: + file_extensions: "php" +engines: + phpcodesniffer: + enabled: true + config: + standard: "PSR2" + duplication: + enabled: true + config: + languages: + - javascript + - python + - php + shellcheck: + enabled: true + eslint: + enabled: true + fixme: + enabled: true + phpmd: + enabled: true + radon: + enabled: true +ratings: + paths: + - "**.css" + - "**.coffee" + - "**.inc" + - "**.js" + - "**.jsx" + - "**.module" + - "**.php" + - "**.py" + - "**.rb" +exclude_paths: +- tests/ +- lib/ +- html/js/ +- html/css/ +- html/lib/ diff --git a/.gitignore b/.gitignore index 2a50b0818e..67aceae8fa 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ !/.travis.yml !/.php_cs !/.github/ +!/.codeclimate.yml # Others # ##########