Browse Source

Merge pull request #2411 from almende/codeClimate

added code-climate checks for develop branch
readme-improvements
yotamberk 7 years ago
committed by GitHub
parent
commit
15b739d920
5 changed files with 48 additions and 3 deletions
  1. +26
    -0
      .codeclimate.yml
  2. +6
    -0
      .csslintrc
  3. +6
    -0
      .eslintrc
  4. +7
    -0
      .mdlrc
  5. +3
    -3
      HISTORY.md

+ 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/**/*"

+ 6
- 0
.csslintrc View File

@ -0,0 +1,6 @@
{
"adjoining-classes": false,
"box-model": false,
"box-sizing": false,
"order-alphabetical": false
}

+ 6
- 0
.eslintrc View File

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

+ 7
- 0
.mdlrc View File

@ -0,0 +1,7 @@
// 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
"~MD014", // Dollar signs used before commands without showing output

+ 3
- 3
HISTORY.md View File

@ -14,7 +14,7 @@ http://visjs.org
- Fixed #2170: Improved the contribution docs (#1991, #2158, #2178, #2183, #2213, #2218, #2219)
- Implemented #1969: generate individual css files for network and timeline (#1970)
- Cleanup bower.json (#1968)
- Removed feature-request page from website (TODO)
- Fixed #2114: Removed feature-request page from website
- Distinguish better between `devDependencies` and `dependencies` (#1967)
- Typos and minor docs improvements (#1958, #2028, #2050, #2093, #2222, #2223, #2224)
- Replaced `gulp-minify-css` with `gulp-clean-css` (#1953)
@ -266,7 +266,7 @@ http://visjs.org
### General
- Fixed #1353: Custom bundling with browserify requiring manual installation
of `babelify`.
of `babelify`.
### Network
@ -451,7 +451,7 @@ http://visjs.org
- Fixed #1033: Moved item data not updated in DataSet when using an asynchronous
`onMove` handler.
- Fixed #239: Do not zoom/move the window when the mouse is on the left panel
with group labels.
with group labels.
## 2015-07-03, version 4.4.0

Loading…
Cancel
Save