Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hemerajs/eslint-config-hemera
- Owner: hemerajs
- License: mit
- Created: 2017-12-29T20:46:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-16T10:59:54.000Z (over 5 years ago)
- Last Synced: 2024-10-09T19:09:10.771Z (about 1 month ago)
- Topics: eslint, hemera, mocha, node, prettier
- Homepage:
- Size: 75.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.