Skip to content

Commit bfc6eeb

Browse files
committed
feature: @putout/plugin-remove-duplicate-keys: drop support of 🐊 < 42
1 parent ff48ba2 commit bfc6eeb

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
import {safeAlign} from 'eslint-plugin-putout';
2-
import {matchToFlat} from '@putout/eslint-flat';
3-
import {defineConfig} from 'eslint/config';
42

5-
export const match = {
6-
'*.md{js}': {
7-
'no-dupe-keys': 'off',
8-
},
9-
};
10-
export default defineConfig([safeAlign, matchToFlat(match)]);
3+
export default safeAlign;

packages/plugin-remove-duplicate-keys/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"key"
3434
],
3535
"devDependencies": {
36-
"@putout/eslint-flat": "^4.0.0",
3736
"@putout/test": "^15.0.0",
3837
"c8": "^10.0.0",
3938
"eslint": "^10.0.0",
@@ -43,11 +42,11 @@
4342
"nodemon": "^3.0.1"
4443
},
4544
"peerDependencies": {
46-
"putout": ">=40"
45+
"putout": ">=42"
4746
},
4847
"license": "MIT",
4948
"engines": {
50-
"node": ">=20"
49+
"node": ">=22"
5150
},
5251
"publishConfig": {
5352
"access": "public"

0 commit comments

Comments
 (0)