Skip to content

Commit

Permalink
fix(docs): add expect-expect rule in list (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza authored and SimenB committed Aug 9, 2018
1 parent 9fca36b commit 3aa7c99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -81,6 +81,7 @@ for more information about extending configuration files.
| Rule | Description | Recommended | Fixable |
| ---------------------------- | ----------------------------------------------------------------- | ---------------- | ------------------- |
| [consistent-test-it][] | Enforce consistent test or it keyword | | ![fixable-green][] |
| [expect-expect][] | Enforce assertion to be made in a test body | | |
| [lowercase-name][] | Disallow capitalized test names | | ![fixable-green][] |
| [no-disabled-tests][] | Disallow disabled tests | ![recommended][] | |
| [no-focused-tests][] | Disallow focused tests | ![recommended][] | |
Expand All @@ -106,6 +107,7 @@ for more information about extending configuration files.
- [eslint-plugin-jasmine](https://github.com/tlvince/eslint-plugin-jasmine)

[consistent-test-it]: docs/rules/consistent-test-it.md
[expect-expect]: docs/rules/expect-expect.md
[lowercase-name]: docs/rules/lowercase-name.md
[no-disabled-tests]: docs/rules/no-disabled-tests.md
[no-focused-tests]: docs/rules/no-focused-tests.md
Expand Down
2 changes: 2 additions & 0 deletions index.js
@@ -1,6 +1,7 @@
'use strict';

const consistentTestIt = require('./rules/consistent-test-it');
const expectExpect = require('./rules/expect-expect');
const lowercaseName = require('./rules/lowercase-name');
const noDisabledTests = require('./rules/no-disabled-tests');
const noFocusedTests = require('./rules/no-focused-tests');
Expand Down Expand Up @@ -67,6 +68,7 @@ module.exports = {
},
rules: {
'consistent-test-it': consistentTestIt,
'expect-expect': expectExpect,
'lowercase-name': lowercaseName,
'no-disabled-tests': noDisabledTests,
'no-focused-tests': noFocusedTests,
Expand Down

0 comments on commit 3aa7c99

Please sign in to comment.