Closed Scrum closed 7 years ago
Can you elaborate? Don't think I follow entirely :).
Example in readme:
"clinton": { "rules": { "file-exists": ["error", "index.js"] } }
Why not ?
"clinton": { "plugins": { "file-exists": ["error", "index.js"] } }
And I'd do the plugins
array
Oh you're right, the readme
is incorrect. It should be plugins
instead of rules
. Fixed it. Thanks for letting me know!
Why plugins are the rules ? In poorer time, I see a trend
{ ...options, plugins: {...}, extends: {}, preset: {...}, rules: {...}}