Add chai-friendly to the plugins section of your ESLint configuration file. Then disable original no-unused-expressions rule and configure chai-friendly replacement under the rules section.