Browse Source

added code-climate configs

codeClimate
Alexander Wunschik 8 years ago
parent
commit
d9056c160c
4 changed files with 41 additions and 0 deletions
  1. +26
    -0
      .codeclimate.yml
  2. +3
    -0
      .csslintrc
  3. +6
    -0
      .eslintrc
  4. +6
    -0
      .mdlrc

+ 26
- 0
.codeclimate.yml View File

@ -0,0 +1,26 @@
languages:
JavaScript: true
engines:
eslint:
enabled: true
csslint:
enabled: true
markdownlint:
enabled: true
duplication:
enabled: true
config:
languages:
javascript:
mass_threshold: 300
fixme :
enabled: true
ratings:
paths:
- "**/*.js"
- "**/*.css"
- "**/*.md"
exclude_paths:
- "dist/**/*"
- "docs/**/*"
- "examples/**/*"

+ 3
- 0
.csslintrc View File

@ -0,0 +1,3 @@
{
"box-sizing": false
}

+ 6
- 0
.eslintrc View File

@ -0,0 +1,6 @@
{
"rules": {
"complexity": [2, 50],
"max-statements": [2, 100]
}
}

+ 6
- 0
.mdlrc View File

@ -0,0 +1,6 @@
// Markdown Lint Rules
// https://github.com/mivok/markdownlint/blob/master/docs/RULES.md
rules
"~MD012", // alert on multiple consecutive blank lines
"~MD013", // line length should be no more than 80 characters

Loading…
Cancel
Save