From 872022a79674e49d843bf03aad1edf1e471b0112 Mon Sep 17 00:00:00 2001 From: Juan Riquelme Date: Sun, 26 Mar 2017 20:49:59 +0200 Subject: [PATCH] Update upgrading-neutrino.md (eslint middleware) (#144) The code explaining the usage of `neutrino-middleware-eslint` was wrong here. It caused me a great headache last night, when I was migrating a pair of eslint presets. Thank god [eslint middleware documentation page](https://neutrino.js.org/middleware/neutrino-middleware-eslint/) is OK and you can compare and infer the correct usage. --- docs/upgrading-neutrino.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/upgrading-neutrino.md b/docs/upgrading-neutrino.md index 5148979..ac3f03f 100644 --- a/docs/upgrading-neutrino.md +++ b/docs/upgrading-neutrino.md @@ -167,7 +167,9 @@ neutrino.config.module const eslint = require('neutrino-middleware-eslint'); neutrino.use(eslint, { - rules: { /* */ } + eslint: { + rules: { /* */ } + } }) ```