@@ -86,10 +86,6 @@ const VITEST_TEST_PATH: &str =
8686const VITEST_RULES_PATH : & str =
8787 "https://raw.githubusercontent.com/veritem/eslint-plugin-vitest/main/src/rules" ;
8888
89- const REGEXP_TEST_PATH : & str = "https://raw.githubusercontent.com/ota-meshi/eslint-plugin-regexp/refs/heads/master/tests/lib/rules" ;
90- const REGEXP_RULES_PATH : & str =
91- "https://raw.githubusercontent.com/ota-meshi/eslint-plugin-regexp/refs/heads/master/lib/rules" ;
92-
9389const VUE_TEST_PATH : & str =
9490 "https://raw.githubusercontent.com/vuejs/eslint-plugin-vue/master/tests/lib/rules/" ;
9591const VUE_RULES_PATH : & str =
@@ -1335,7 +1331,6 @@ pub enum RuleKind {
13351331 Node ,
13361332 Promise ,
13371333 Vitest ,
1338- Regexp ,
13391334 Vue ,
13401335}
13411336
@@ -1358,7 +1353,6 @@ impl TryFrom<&str> for RuleKind {
13581353 "n" => Ok ( Self :: Node ) ,
13591354 "promise" => Ok ( Self :: Promise ) ,
13601355 "vitest" => Ok ( Self :: Vitest ) ,
1361- "regexp" => Ok ( Self :: Regexp ) ,
13621356 "vue" => Ok ( Self :: Vue ) ,
13631357 _ => Err ( format ! ( "Invalid `RuleKind`, got `{value}`" ) ) ,
13641358 }
@@ -1382,7 +1376,6 @@ impl Display for RuleKind {
13821376 Self :: Node => "eslint-plugin-n" ,
13831377 Self :: Promise => "eslint-plugin-promise" ,
13841378 Self :: Vitest => "eslint-plugin-vitest" ,
1385- Self :: Regexp => "eslint-plugin-regexp" ,
13861379 Self :: Vue => "eslint-plugin-vue" ,
13871380 } ;
13881381 f. write_str ( kind_name)
@@ -1414,7 +1407,6 @@ fn main() {
14141407 RuleKind :: Node => format ! ( "{NODE_TEST_PATH}/{kebab_rule_name}.js" ) ,
14151408 RuleKind :: Promise => format ! ( "{PROMISE_TEST_PATH}/{kebab_rule_name}.js" ) ,
14161409 RuleKind :: Vitest => format ! ( "{VITEST_TEST_PATH}/{kebab_rule_name}.test.ts" ) ,
1417- RuleKind :: Regexp => format ! ( "{REGEXP_TEST_PATH}/{kebab_rule_name}.ts" ) ,
14181410 RuleKind :: Vue => format ! ( "{VUE_TEST_PATH}/{kebab_rule_name}.js" ) ,
14191411 RuleKind :: Oxc => String :: new ( ) ,
14201412 } ;
@@ -1432,7 +1424,6 @@ fn main() {
14321424 RuleKind :: Node => format ! ( "{NODE_RULES_PATH}/{kebab_rule_name}.js" ) ,
14331425 RuleKind :: Promise => format ! ( "{PROMISE_RULES_PATH}/{kebab_rule_name}.js" ) ,
14341426 RuleKind :: Vitest => format ! ( "{VITEST_RULES_PATH}/{kebab_rule_name}.ts" ) ,
1435- RuleKind :: Regexp => format ! ( "{REGEXP_RULES_PATH}/{kebab_rule_name}.ts" ) ,
14361427 RuleKind :: Vue => format ! ( "{VUE_RULES_PATH}/{kebab_rule_name}.js" ) ,
14371428 RuleKind :: Oxc => String :: new ( ) ,
14381429 } ;
@@ -1638,7 +1629,6 @@ fn get_mod_name(rule_kind: RuleKind) -> String {
16381629 RuleKind :: Promise => "promise" . into ( ) ,
16391630 RuleKind :: Vitest => "vitest" . into ( ) ,
16401631 RuleKind :: Node => "node" . into ( ) ,
1641- RuleKind :: Regexp => "regexp" . into ( ) ,
16421632 RuleKind :: Vue => "vue" . into ( ) ,
16431633 }
16441634}
0 commit comments