File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface PluginConfig {
2121
2222let pluginName = 'de-morgan'
2323
24- let rules : Record < string , Rule . RuleModule > = {
24+ export let rules : Record < string , Rule . RuleModule > = {
2525 'no-negated-conjunction' : noNegatedConjunction ,
2626 'no-negated-disjunction' : noNegatedDisjunction ,
2727}
@@ -50,14 +50,16 @@ function createLegacyConfig(): Linter.LegacyConfig {
5050 }
5151}
5252
53+ export let configs = {
54+ 'recommended-legacy' : createLegacyConfig ( ) ,
55+ recommended : createConfig ( ) ,
56+ }
57+
5358export default {
54- configs : {
55- 'recommended-legacy' : createLegacyConfig ( ) ,
56- recommended : createConfig ( ) ,
57- } ,
5859 meta : {
5960 version : packageVersion ,
6061 name : packageName ,
6162 } ,
63+ configs,
6264 rules,
6365} as PluginConfig
You can’t perform that action at this time.
0 commit comments