mirror of
https://github.com/bendtherules/eslint-plugin-undef-init.git
synced 2026-08-18 13:52:15 +00:00
Update readme usage + Export config with plugin value already set
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user