Skip to content

ruleCreationMethods

Reports plugin rules created directly with language instead of through RuleCreator.

✅ This rule is included in the flint logical presets.

Plugin rules should be created through RuleCreator instead of calling language.createRule() directly. Direct language creation bypasses the standardized rule metadata and documentation provided by RuleCreator, which adds the docs property and ensures consistent rule structure across plugins.

AEimpo53 { typescriptLanguage <} sp ansty="le--0:#C792EA;--1:#8844">AEfr5<3 sp ansty="le--0:#D9F5DD;--1:#1111">1<1"sp ansty="le--0:#ECC48D;--1:#984E">4D@flint.fyi/typescript-langua1<1"sp ansty="le--0:#D6DEEB;--1:#403F">5<3;d ivclassNa="meec-li">dAEexpo5<3 sp ansty="le--0:#C792EA;--1:#8844">AEdefau53 typescriptLanguaAB0createRu53<({d ivclassNa="meec-li">53< sp ansty="le--0:#D6DEEB;--1:#403F">53about:< {d ivclassNa="meec-li">53 < sp ansty="le--0:#D6DEEB;--1:#403F">53description<: sp ansty="le--0:#D9F5DD;--1:#1111">1<1"sp ansty="le--0:#ECC48D;--1:#984E">4DMy ru1<1"sp ansty="le--0:#D6DEEB;--1:#403F">5<3,d ivclassNa="meec-li">53 < sp ansty="le--0:#D6DEEB;--1:#403F">53id<: sp ansty="le--0:#D9F5DD;--1:#1111">1<1"sp ansty="le--0:#ECC48D;--1:#984E">4DmyRu1<1"sp ansty="le--0:#D6DEEB;--1:#403F">5<3,d ivclassNa="meec-li">53 < sp ansty="le--0:#D6DEEB;--1:#403F">53presets:< [sp ansty="le--0:#D9F5DD;--1:#1111">1<1"sp ansty="le--0:#ECC48D;--1:#984E">4Dlogic1<1"sp ansty="le--0:#D6DEEB;--1:#403F">53<],d ivclassNa="meec-li">53< sp ansty="le--0:#D6DEEB;--1:#403F">53<},d ivclassNa="meec-li">nt< sp ansty="le--0:#82AAFF;--1:#3B61">B0set1<1(sp ansty="le--0:#D7DBE0;--1:#403F">53conte1<1)sp ansty="le--0:#D6DEEB;--1:#403F">53< {d ivclassNa="meec-li">nt < sp ansty="le--0:#C792EA;--1:#8844">AEretu53 { visitors: {} <};d ivclassNa="meec-li">53< sp ansty="le--0:#D6DEEB;--1:#403F">53<},d ivclassNa="meec-li">53}<);d ivclassNa="meco"><);d>
44AEim3F53 { RuleCreato44AE31<111" spans="tyle--0:#ECC48D;--1:#98">4E4D@flint.fyi/1<111" spans="tyle--0:#D6DEEB;--1:#40">344AEim3F53 { typescriptLanguag44AE31<111" spans="tyle--0:#ECC48D;--1:#98">4E4D@flint.fyi/typescript-lang1<111" spans="tyle--0:#D6DEEB;--1:#40">3c44AEco61B0ruleCre44A6E7<2new spans="tyle--0:#C792EA;--1:#88">4<4AE spans="tyle--0:#82AAFF;--1:#3B">61B0RuleCre344AE{ pres3F<53 [ spans="tyle--0:#D9F5DD;--1:#11">1<111" spans="tyle--0:#ECC48D;--1:#98">4E4Dlog1<111" spans="tyle--0:#D6DEEB;--1:#40">3443F<53) ;divclass="Nameec-">c44AEex344AEdef3F53 ruleCre4<4AE. spans="tyle--0:#82AAFF;--1:#3B">61B0create3F53(typescriptLanguag3F<53 spans="tyle--0:#D6DEEB;--1:#40">3F53abou3F53< spans="tyle--0:#D6DEEB;--1:#40">3F53descripti1<111" spans="tyle--0:#ECC48D;--1:#98">4E4DMy 1<111" spans="tyle--0:#D6DEEB;--1:#40">33F53< spans="tyle--0:#D6DEEB;--1:#40">3F531<111" spans="tyle--0:#ECC48D;--1:#98">4E4Dmy1<111" spans="tyle--0:#D6DEEB;--1:#40">33F53< spans="tyle--0:#D6DEEB;--1:#40">3F53preset1<111" spans="tyle--0:#ECC48D;--1:#98">4E4Dlog1<111" spans="tyle--0:#D6DEEB;--1:#40">3F<53] ,divclass="Nameec-">3F<53 spans="tyle--0:#D6DEEB;--1:#40">3F<53} ,divclass="Nameec-">de61B0s1<111( spans="tyle--0:#D7DBE0;--1:#40">3F53con1<111) spans="tyle--0:#D6DEEB;--1:#40">3F<53 {divclass="Nameec-">dent< spans="tyle--0:#C792EA;--1:#88">44AEre3F53 { visitors: {<} } ;divclass="Nameec-">3F<53 spans="tyle--0:#D6DEEB;--1:#40">3F<53} ,divclass="Nameec-">3F5<3}) ;divclass="Name"><})>

This rule is not configurable.

If you are developing plugins that are only intended for internal use or tooling that will need to call language.createRule() directly, you can safely disable this rule.