boennemann / eslint-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@boennemann/eslint-config

Build Status Greenkeeper badge

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

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 .

About


Languages

Language:JavaScript 93.2%Language:TypeScript 6.8%