Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Commit

Permalink
added code-climate configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel committed Dec 5, 2016
1 parent 1e9dce1 commit 5eae95e
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions .csslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"box-sizing": false
}
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"rules": {
"complexity": [2, 50],
"max-statements": [2, 100]
}
}
26 changes: 26 additions & 0 deletions .mdlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
rules "MD001", // header levels increment by 1
"MD002", // first header should be level 1
"MD003", // header style - atx
"MD004", // unordered list style - asterick
"MD005", // don't allow inconsistent indentation for list items
"MD006", // start bullets at beginning of line
"MD007", // unordered list indentation should be 4 spaces
"MD009", // trailing spaces not allowed
"MD010", // hard tabs not allowed
"MD011", // alert on reversed link syntax
"~MD012", // alert on multiple consecutive blank lines
"~MD013", // line length should be no more than 80 characters
"MD014", // dollars signs not before commands w/o showing output
"MD018", // must have space after header style
"MD019", // no multiple spaces after header style
"MD022", // headers should be surrounded by blank lines
"MD023", // headers must start at the beginning of the line
"MD024", // no multiple headers with same content
"MD025", // only 1 level 1 header
"MD026", // no trailing punctuation in headers
"MD027", // no multiple spaces after blockquote symbol
"MD028", // no blank lines within blockquote
"MD029", // ordered list item prefix, shoulded be ordered
"MD030", // spaces after list markers
"MD031", // fenced code blocks need line surrounding
"MD032" // lists should be surrounded by line

0 comments on commit 5eae95e

Please sign in to comment.