Skip to content

Commit

Permalink
Merge branch 'release/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
davesag committed Apr 14, 2019
2 parents a7a90d8 + 2f542be commit 809f560
Show file tree
Hide file tree
Showing 49 changed files with 837 additions and 199 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ jobs:

- run:
name: Javascript Linter
command:
set -e
npm run lint
command: npm run lint

- run:
name: All Unit Tests with Code Coverage
command:
npm run test:coverage
command: npm run test:coverage

- run:
name: Mutation Tests
command: npm run test:mutants

- run:
name: Push any lockfile changes
Expand Down
6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// includes mocha plugins and env here because the code is
// designed to run in a mocha context
module.exports = {
extends: ['standard', 'prettier', 'prettier/standard'],
plugins: ['prettier', 'standard', 'mocha'],
plugins: ['prettier', 'standard', 'import', 'promise', 'mocha'],
parserOptions: {
sourceType: 'module'
},
Expand All @@ -11,6 +13,6 @@ module.exports = {
},
rules: {
'prettier/prettier': ['error', { singleQuote: true, semi: false }],
'no-unused-expressions': 0,
'no-unused-expressions': 0
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ typings/

# next.js build output
.next

# macOS finder metadata
.DS_Store
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,14 @@ describe('src/models/User', () => {

### Built in checks

<!-- prettier-ignore -->
| Check | What it does |
| --------------------- | ------------ |
| `checkHookDefined` | Checks that a particular hook is defined. |
| `checkModelName` | Checks that the model is named correctly. |
| Check | What it does |
| --- | --- |
| `checkHookDefined` | Checks that a particular hook is defined. |
| `checkModelName` | Checks that the model is named correctly. |
| `checkNonUniqueIndex` | Checks that a specific non-unique index is defined. |
| `checkPropertyExists` | Checks that the model has defined the given property. |
| `checkUniqueCompoundIndex` | Checks that a specific unique compound index is defined. |
| `checkUniqueIndex` | Checks that a specific unique index is defined. |
| `checkUniqueIndex` | Checks that a specific unique index is defined. |

### Checking associations

Expand Down
Loading

0 comments on commit 809f560

Please sign in to comment.