eslint-config-fireyy
v1.0.0
Published
eslint config for fireyy.
Downloads
3
Readme
ESLint config for fireyy
Work with:
- eslint and eslint-config-xo.
- XO
Features
- Indent with 2 spaces
- no semicolon
- Prettier Code
- Lint code blocks in Markdown
Install
$ yarn add eslint eslint-config-fireyy -D
Usage
In ESLint:
{
"eslintConfig": {
"extends": ["xo/esnext", "fireyy"]
}
}
Or in XO:
{
"xo": {
"extends": "fireyy"
}
}
Use Prettier
{
"xo": {
"extends": "fireyy/prettier"
}
}
Lint code blocks in markdown
It uses eslint-plugin-markdown:
{
"xo": {
"extensions": ["md"]
}
}