Skip to content

Commit 2211959

Browse files
chore: fix integration test failure with eslint stylistic plugin deprecation warning (#11436)
fix up stylistic plugin
1 parent d11e79e commit 2211959

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/integration-tests/fixtures/flat-config-types-@types__eslint-v9/eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default tseslint.config(
3131
},
3232
eslint.configs.recommended,
3333
...tseslint.configs.recommended,
34-
stylisticPlugin.configs['recommended-flat'],
34+
stylisticPlugin.configs.recommended,
3535
);
3636

3737
// wrapped in a function so they aren't executed at lint time
@@ -48,7 +48,7 @@ function _otherCases() {
4848
tseslint.config(
4949
eslint.configs.recommended,
5050
...tseslint.configs.recommended,
51-
stylisticPlugin.configs['recommended-flat'],
51+
stylisticPlugin.configs.recommended,
5252
vitestPlugin.configs.recommended,
5353
);
5454
tseslint.config(

packages/integration-tests/tests/__snapshots__/flat-config-types-@types__eslint-v9.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default tseslint.config(
7676
},
7777
eslint.configs.recommended,
7878
...tseslint.configs.recommended,
79-
stylisticPlugin.configs['recommended-flat'],
79+
stylisticPlugin.configs.recommended,
8080
)
8181
8282
// wrapped in a function so they aren't executed at lint time
@@ -93,7 +93,7 @@ function _otherCases() {
9393
tseslint.config(
9494
eslint.configs.recommended,
9595
...tseslint.configs.recommended,
96-
stylisticPlugin.configs['recommended-flat'],
96+
stylisticPlugin.configs.recommended,
9797
vitestPlugin.configs.recommended,
9898
)
9999
tseslint.config(

0 commit comments

Comments
 (0)