Skip to content

Commit dc46346

Browse files
committed
augment @eslint/core SettingsConfig with react settings shape
1 parent 904f3b6 commit dc46346

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

types/eslint-core-augment.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import '@eslint/core';
2+
3+
declare module '@eslint/core' {
4+
interface SettingsConfig {
5+
react?: {
6+
pragma?: string;
7+
fragment?: string;
8+
createClass?: string;
9+
};
10+
}
11+
}
12+
13+
export {};

0 commit comments

Comments
 (0)