Skip to content

Commit

Permalink
fix: enable chai-expect
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Sep 14, 2021
1 parent 22c463e commit 6e41c33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mocha/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict"

module.exports = {
plugins: ["mocha", "jest"],
plugins: ["mocha", "jest", "chai-expect"],
reportUnusedDisableDirectives: true,
rules: {
"mocha/no-async-describe": "error",
Expand All @@ -17,8 +17,8 @@ module.exports = {
"mocha/no-sibling-hooks": "error",
"mocha/no-skipped-tests": "error",
"mocha/no-synchronous-tests": "error",
"mocha/valid-suite-description": ["warn", "^[a-z]"],
"mocha/valid-test-description": ["warn", "^[a-z]"],
"mocha/valid-suite-description": ["error", "^[a-z]"],
"mocha/valid-test-description": ["error", "^[a-z]"],
"jest/consistent-test-it": ["error", { fn: "test", withinDescribe: "test" }],
"chai-expect/no-inner-compare": "error",
"chai-expect/no-inner-literal": "error",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@js-soft/eslint-config-ts",
"version": "1.2.1",
"version": "1.2.3",
"description": "j&s-soft typescript linting rules",
"license": "MIT",
"author": "js-soft GmbH",
Expand Down

0 comments on commit 6e41c33

Please sign in to comment.