Update readme usage + Export config with plugin value already set

This commit is contained in:
2018-08-20 12:51:18 +05:30
parent 6d53234a9c
commit 238f97473a
2 changed files with 18 additions and 16 deletions
+2
View File
@@ -20,6 +20,8 @@ module.exports.rules = requireIndex(__dirname + "/rules");
module.exports.configs = {
recommended: {
plugins: ['undef-init'],
rules: {
// Disable no-undef-init as its the opposite inbuilt rule
'no-undef-init': 0,