Skip to content

Commit 875651e

Browse files
authored
chore: remove eslint-plugin-jest-formatting (#1100)
1 parent c9fcf83 commit 875651e

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
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',

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
"eslint-import-resolver-typescript": "^4.4.4",
7575
"eslint-plugin-import-x": "^4.16.1",
7676
"eslint-plugin-jest": "^29.0.1",
77-
"eslint-plugin-jest-formatting": "^3.1.0",
7877
"eslint-plugin-node": "^11.1.0",
7978
"eslint-plugin-promise": "^7.1.0",
8079
"eslint-remote-tester": "^3.0.1",

pnpm-lock.yaml

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ it('should export configs that refer to actual rules', () => {
6060
'flat/svelte',
6161
'flat/marko',
6262
]);
63+
6364
const allConfigRules = Object.values(allConfigs)
6465
.map((config) => Object.keys(config.rules ?? {}))
6566
.reduce((previousValue, currentValue) => [

0 commit comments

Comments
 (0)