@@ -8,7 +8,6 @@ import react from "eslint-plugin-react-x";
88
99import { name , version } from "../package.json" ;
1010import * as allConfig from "./configs/all" ;
11- import * as coreConfig from "./configs/core" ;
1211import * as debugConfig from "./configs/debug" ;
1312import * as disableDebugConfig from "./configs/disable-debug" ;
1413import * as disableDomConfig from "./configs/disable-dom" ;
@@ -19,6 +18,7 @@ import * as offConfig from "./configs/off";
1918import * as recommendedConfig from "./configs/recommended" ;
2019import * as recommendedTypeCheckedConfig from "./configs/recommended-type-checked" ;
2120import * as recommendedTypeScriptConfig from "./configs/recommended-typescript" ;
21+ import * as xConfig from "./configs/x" ;
2222import { padKeysLeft } from "./utils" ;
2323
2424function toLegacyConfig ( { rules } : { rules : RulePreset } ) {
@@ -36,8 +36,6 @@ export default {
3636 configs : {
3737 [ "all" ] : allConfig ,
3838 [ "all-legacy" ] : toLegacyConfig ( allConfig ) ,
39- [ "core" ] : coreConfig ,
40- [ "core-legacy" ] : toLegacyConfig ( coreConfig ) ,
4139 [ "debug" ] : debugConfig ,
4240 [ "debug-legacy" ] : toLegacyConfig ( debugConfig ) ,
4341 [ "disable-debug" ] : disableDebugConfig ,
@@ -58,6 +56,8 @@ export default {
5856 [ "recommended-type-checked-legacy" ] : toLegacyConfig ( recommendedTypeCheckedConfig ) ,
5957 [ "recommended-typescript" ] : recommendedTypeScriptConfig ,
6058 [ "recommended-typescript-legacy" ] : toLegacyConfig ( recommendedTypeScriptConfig ) ,
59+ [ "x" ] : xConfig ,
60+ [ "x-legacy" ] : toLegacyConfig ( xConfig ) ,
6161 // Part: deprecated presets
6262 /** @deprecated Use `disable-dom` instead */
6363 [ "off-dom" ] : disableDomConfig ,
0 commit comments