Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/boennemann/eslint-config


https://github.com/boennemann/eslint-config

Last synced: about 16 hours ago
JSON representation

Awesome Lists containing this project

README

        

# @boennemann/eslint-config

[![Build Status](https://travis-ci.com/boennemann/eslint-config.svg?branch=master)](https://travis-ci.com/boennemann/eslint-config) [![Greenkeeper badge](https://badges.greenkeeper.io/boennemann/eslint-config.svg)](https://greenkeeper.io/)

This is a base configuration for eslint. It contains all styling related
settings, which should stay the same everywhere. They are controlled via [prettier](http://npm.im/prettier)
and offer auto-fixing. Additional static analysis may be added on a per project
basis, e.g. for react, react-native etc.

```bash
npm install -D eslint @boennemann/eslint-config

echo '{"extends": "@boennemann"}' > .eslintrc.json

npx eslint .

# if you want to lint json, too
npx eslint --ext=.json,.js .
```