ESLint config for 🍷Sherry🍷

This config is supposed to work with XO or eslint-config-xo.
Features
- Indent with 2 spaces and no semicolon
- Lint code blocks in Markdown!
- Enforce consistent spacing inside
- Require Following Curly Brace Conventions with
multi
option - Disallow unused expressions
Install
yarn add -D eslint-config-sherry# OR: npm install -D eslint eslint-config-sherry
Usage
In ESLint:
/* package.json */ "eslintConfig": "extends": "xo/esnext" "sherry"
Or in XO:
/* package.json */ "xo": "extends": "sherry"
Use Prettier
/* package.json */ "xo": "extends": "sherry/prettier"
Lint code blocks in markdown
It uses eslint-plugin-markdown:
Author
Sherry © Sherry Team, Released under the MIT License.
Authored and maintained by ULIVZ with help from contributors (list).