import mochaPlugin from 'eslint-plugin-mocha';export default [ mochaPlugin.configs.flat.recommended // or `mochaPlugin.configs.flat.all` to enable all // ... Your configurations here];
Plugin Settings
This plugin supports the following settings, which are used by multiple rules:
additionalCustomNames: This allows rules to check additional function names when looking for suites or test cases. This might be used with a custom Mocha extension, such as ember-mocha or mocha-each.