diff --git a/src/index.ts b/src/index.ts index 2297d3bb7..44254e380 100644 --- a/src/index.ts +++ b/src/index.ts @@ -68,15 +68,12 @@ export = { configs: { all: createConfig(allRules), recommended: createConfig(recommendedRules), - style: { - plugins: ['jest'], - rules: { - 'jest/no-alias-methods': 'warn', - 'jest/prefer-to-be': 'error', - 'jest/prefer-to-contain': 'error', - 'jest/prefer-to-have-length': 'error', - }, - }, + style: createConfig({ + 'jest/no-alias-methods': 'warn', + 'jest/prefer-to-be': 'error', + 'jest/prefer-to-contain': 'error', + 'jest/prefer-to-have-length': 'error', + }), }, environments: { globals: {