'use strict';

module.exports = {
	plugins: [
		'jest',
	],
	env: {
		'jest/globals': true,
	},
	extends: [
		'./index',
		'./rules/plugin-jest',
	].map(require.resolve),
};

'use strict';

module.exports = {
	plugins: [
		'jest',
	],
	env: {
		'jest/globals': true,
	},
	extends: [
		'./index',
		'./rules/plugin-jest',
	].map(require.resolve),
	rules: {
		'filenames/match-regex': [
			'error',
			/^[A-Za-z0-9.-]+$/,
		],
	},
};

Apply the same filename rules to Jest as we do React
Apply the same filename rules to Jest as we do React
