I want to use Jasmine and i'm in the middle of the tutorial of Jasmine, but they don't mention in the document how to fix the error "Definition for rule '@typescript-eslint/no-unused-expressions' was not found.eslint(@typescript-eslint/no-unused-expressions)"
the error occurs in the file enzyme.ts:
import { configure } from "enzyme";
import Adapter from "enzyme-adapter-react-16";
import jasmineEnzyme from "jasmine-enzyme";
configure({ adapter:  new Adapter() });
// tslint:disable-next-line: only-arrow-functions
beforeEach(function() {
  jasmineEnzyme();
});
this is the link to the tutorial for Jasmine:
https://jasmine.github.io/tutorials/react_with_npm
That typescript-eslint rule does exist per the docs. A couple of possibilities here:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With