Browse Source

Fixing typo in docs

v5.0.0-beta
Eli Perelman 8 years ago
parent
commit
0ad71379ea
  1. 2
      docs/presets/neutrino-lint-base/README.md
  2. 18
      docs/presets/neutrino-preset-airbnb-base/README.md

2
docs/presets/neutrino-lint-base/README.md

@ -140,7 +140,7 @@ const merge = require('deepmerge');
module.exports = neutrino => {
lint(neutrino);
neutrino.config
neutrino.config.module
.rule('lint')
.loader('eslint', props => merge(props, {
options: {

18
docs/presets/neutrino-preset-airbnb-base/README.md

@ -185,17 +185,15 @@ _Example: Turn off semicolons from being required as defined by the Airbnb rules
const merge = require('deepmerge');
module.exports = neutrino => {
neutrino.config
neutrino.config.module
.rule('lint')
.loader('eslint', ({ options }) => {
return {
options: merge(options, {
rules: {
semi: 'off'
}
})
};
});
.loader('eslint', props => merge(props, {
options: {
rules: {
semi: 'off'
}
}
}));
};
```

Loading…
Cancel
Save