From ed7d2312748aff962bba0353134001ab76cd7996 Mon Sep 17 00:00:00 2001 From: Abhas Date: Fri, 21 Sep 2018 14:42:17 +0530 Subject: [PATCH] Export config from plugin --- lib/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/index.js b/lib/index.js index 4af5044..9a4cdbd 100644 --- a/lib/index.js +++ b/lib/index.js @@ -18,5 +18,14 @@ var requireIndex = require("requireindex"); // import all rules in lib/rules module.exports.rules = requireIndex(__dirname + "/rules"); +module.exports.configs = { + recommended: { + plugins: ['no-classname-with-stylename'], + + rules: { + 'no-classname-with-stylename': 2, + }, + }, + };