Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hemerajs/eslint-config-hemera

General eslint configuration
https://github.com/hemerajs/eslint-config-hemera

eslint hemera mocha node prettier

Last synced: about 20 hours ago
JSON representation

General eslint configuration

Awesome Lists containing this project

README

        

# eslint-config-hemera

Hemera eslint config. The perfect match to work with Prettier, Mocha and Node.

## Installation

```
npm install --save-dev eslint eslint-config-hemera
```

## Usage

.eslintrc.json
```js
{
"extends": "hemera"
}

```

## Scripts

```json
{
"lint": "eslint \"./**/*.js\"",
"lint:fix": "eslint --fix \"./**/*.js\"",
"format": "prettier \"./**/*.js\"",
"format:fix": "prettier \"./**/*.js\" --write",
}
```

### Great tooling

- [vscode](https://code.visualstudio.com/)
- Use [eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) to find lint issues.
- Use [prettier-vscode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) to automatically format your code.