Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.22 KB

README.md

File metadata and controls

41 lines (33 loc) · 1.22 KB

Neutrino preset with ESLint Google configuration

NPM version NPM downloads Join Slack

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",
    ],
    ...
  };