Skip to content

Commit 4171a38

Browse files
committed
chore: rely on jest padding rule without formatting plugin
1 parent c9fcf83 commit 4171a38

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

eslint.config.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { defineConfig, globalIgnores } from 'eslint/config';
55
import prettierConfig from 'eslint-config-prettier/flat';
66
import { importX } from 'eslint-plugin-import-x';
77
import jest from 'eslint-plugin-jest';
8-
import * as jestFormatting from 'eslint-plugin-jest-formatting';
98
import globals from 'globals';
109
import tseslint from 'typescript-eslint';
1110

@@ -92,7 +91,10 @@ const config = defineConfig(
9291
name: 'Jest config',
9392
files: ['**/*.test.ts', '**/*.test.js'],
9493
...jest.configs['flat/recommended'],
95-
...jestFormatting.configs['flat/recommended'],
94+
rules: {
95+
...jest.configs['flat/recommended'].rules,
96+
'jest/padding-around-all': 'error',
97+
},
9698
},
9799
{
98100
name: 'Plain JS',

0 commit comments

Comments
 (0)