Skip to content

Commit

Permalink
Merge pull request #10 from mhillerstrom/github-action
Browse files Browse the repository at this point in the history
GitHub action
  • Loading branch information
mhillerstrom authored Oct 25, 2021
2 parents f547d9e + b989081 commit 3027098
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: "2" # required to adjust maintainability checks
checks:
argument-count:
config:
threshold: 6
complex-logic:
config:
threshold: 50
file-lines:
config:
threshold: 300
method-complexity:
config:
threshold: 6
method-count:
config:
threshold: 30
method-lines:
config:
threshold: 100
nested-control-flow:
config:
threshold: 6
return-statements:
config:
threshold: 6
similar-code:
config:
threshold: 50
identical-code:
config:
threshold: 25
plugins:
duplication:
enabled: true
config:
count_threshold: 3
exclude_patterns:
- "**/test/*"
- "**/adapter-tests/*"
- "**/dist/*"
- "**/*.dist.js"
- "**/templates/*"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Known Vulnerabilities](https://snyk.io/test/github/feathersjs-offline/localforage/badge.svg)](https://snyk.io/test/github/feathersjs-offline/localforage)
[![Maintainability](https://api.codeclimate.com/v1/badges/29bdb5362c208a740016/maintainability)](https://codeclimate.com/github/feathersjs-offline/localforage/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/29bdb5362c208a740016/test_coverage)](https://codeclimate.com/github/feathersjs-offline/localforage/test_coverage)
[![Download Status](https://img.shields.io/npm/dm/feathersjs-offline/localforage)](https://www.npmjs.com/package/feathersjs-offline/localforage)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs-offline/localforage)](https://www.npmjs.com/package/@feathersjs-offline/localforage)

[@featherjs-offline/localforage](https://github.com/feathersjs-offline/localforage/) is a database service adapter wrapping `localForage` that persists to either `IndexedDB`, `WebSQL`, or `LocalStorage` making it very useful for mobile and offline-first applications with the additional ability to seamlessly handle Blobs, TypedArrays, and other JS objects.

Expand Down

0 comments on commit 3027098

Please sign in to comment.