eslint-config-sherry
v0.0.1
Published
eslint config for sherry
Readme
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
multioption - Disallow unused expressions
Install
yarn add -D eslint-config-sherry
# OR: npm install -D eslint eslint-config-sherryUsage
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:
{
"xo": {
"extensions": ["md"]
}
}Author
Sherry © Sherry Team, Released under the MIT License. Authored and maintained by ULIVZ with help from contributors (list).
