Welcome to mirror list, hosted at ThFree Co, Russian Federation.

createPlugin.js « lib « stylelint « node_modules « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1b82c47e721b3104b54a4f6942ec7bc5c08f9a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

/**
 * @param {string} ruleName
 * @param {Function} rule
 * @returns {{ruleName: string, rule: Function}}
 */
module.exports = function(ruleName, rule) {
	return {
		ruleName,
		rule,
	};
};