open-index/open-npm huggingface dataset:
npm package: @hoodoo/babel-preset-default
Description: Opinionated shareable babel configs for react, node and es6+
Latest version: 1.0.0

# Babel Preset Default

## Installation
`yarn add -D @hoodoo/babel-preset-default`

## Usage
Simply add @hoodoo/babel-preset-default to your babel.config.js file.

```json
module.exports = {
  presets: ['@hoodoo/babel-preset-default'],
}
```
npm package: @hoodoo/eslint-config
Description: Opinionated shareable eslint configs for es6+ react, ts, node, and jest
Latest version: 1.0.0

Generic linting rules for all of your favorite js frameworks.

## Installation

`yarn add -D @hoodoo/eslint-config`

Create a `.eslintrc.js` file to your project that looks something like this

```
module.exports = {
  extends: '@hoodoo/eslint-config',
}
```
and in your `package.json` add this line `"prettier": "@hoodoo/prettier-config",`

Now to get your editor to format your code for you on save follow the steps below.

## VSCode

To get your linter working properly and linting your code on save, you'll need to disable or uninstall Prettier and have ESLint enabled in your VSCode plugins.

### Settings

```
{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "eslint.format.enable": true,
  "eslint.lintTask.enable": true,
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
}
```

## IntelliJ

Here's a quick [guide](https://medium.com/@netczuk/even-faster-code-formatting-using-eslint-22b80d061461) on how to setup File Watchers.