Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Allow unused expressions when asserting #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mfilenko
Copy link

@mfilenko mfilenko commented Nov 9, 2017

Turn this

expect(foo).to.be.true; // eslint-disable-line no-unused-expressions
foo.should.be.true; // eslint-disable-line no-unused-expressions

into just this

expect(foo).to.be.true;
foo.should.be.true;

(Merge it if https://github.com/figome/banking/pull/891 gets approved.)

Turn this

```javascript
expect(foo).to.be.true; // eslint-disable-line no-unused-expressions
foo.should.be.true; // eslint-disable-line no-unused-expressions
```

into just this

```javascript
expect(foo).to.be.true;
foo.should.be.true;
```
@itereshchenkov
Copy link
Contributor

I would suggest moving some project-specific rules directly to project itself. Because, I assume not every project could use chai assertion library

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants