neutrino-preset-eslint-google
v3.0.0
Published
Neutrino preset for adding Google's base JS ESLint config, following the Google styleguide
Downloads
3
Maintainers
Readme
Neutrino preset with ESLint Google configuration
neutrino-preset-eslint-google
is a Neutrino preset that supports linting
JavaScript projects with Google's base ESLint config, following the
Google styleguide.
Documentation
Install this preset to your development dependencies, then set it in
.neutrinorc.js
:
module.exports = {
use: [
"neutrino-preset-eslint-google",
"neutrino-preset-web",
],
...
};
The preset will enable eslint:recommended
rules by default. To disable them,
set the recommended
option to false:
module.exports = {
use: [
["neutrino-preset-eslint-google", {recommended: false}],
"neutrino-preset-web",
],
...
};