Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barraponto/neutrino-preset-eslint-google
ESLint Google config support in Neutrino
https://github.com/barraponto/neutrino-preset-eslint-google
eslint neutrino neutrino-preset webpack
Last synced: about 1 month ago
JSON representation
ESLint Google config support in Neutrino
- Host: GitHub
- URL: https://github.com/barraponto/neutrino-preset-eslint-google
- Owner: barraponto
- Created: 2017-03-18T04:26:43.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-21T16:57:05.000Z (about 7 years ago)
- Last Synced: 2024-11-14T20:03:20.773Z (about 1 month ago)
- Topics: eslint, neutrino, neutrino-preset, webpack
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/neutrino-preset-eslint-google
- Size: 64.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Neutrino preset with ESLint Google configuration
[![NPM version][npm-image]][npm-url] [![NPM downloads][npm-downloads]][npm-url] [![Join Slack][slack-image]][slack-url]`neutrino-preset-eslint-google` is a Neutrino preset that supports linting
JavaScript projects with Google's base ESLint config, following the
[Google styleguide](https://google.github.io/styleguide/jsguide.html).## Documentation
Install this preset to your development dependencies, then set it in
`.neutrinorc.js`:```javascript
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:```javascript
module.exports = {
use: [
["neutrino-preset-eslint-google", {recommended: false}],
"neutrino-preset-web",
],
...
};
```[npm-image]: https://img.shields.io/npm/v/neutrino-preset-eslint-google.svg
[npm-downloads]: https://img.shields.io/npm/dt/neutrino-preset-eslint-google.svg
[npm-url]: https://npmjs.org/package/neutrino-preset-eslint-google
[slack-image]: https://neutrino-slack.herokuapp.com/badge.svg
[slack-url]: https://neutrino-slack.herokuapp.com/