Browse Source

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.
v6-dev
Juan Riquelme 8 years ago
committed by Eli Perelman
parent
commit
872022a796
  1. 2
      docs/upgrading-neutrino.md

2
docs/upgrading-neutrino.md

@ -167,7 +167,9 @@ neutrino.config.module
const eslint = require('neutrino-middleware-eslint');
neutrino.use(eslint, {
eslint: {
rules: { /* */ }
}
})
```

Loading…
Cancel
Save