eslint-config-rem
v4.0.0
Published
eslint config for rem.
Downloads
9,080
Readme
ESLint config for 🌟rem🌟
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!
- ...some tweaks for my preference.
Install
$ npm install -D eslint eslint-config-rem
Usage
In ESLint:
{
"eslintConfig": {
"extends": ["xo/esnext", "rem"]
}
}
Or in XO:
{
"xo": {
"extends": "rem"
}
}
Use Prettier
{
"xo": {
"extends": "rem/prettier"
}
}
Lint code blocks in markdown
It uses eslint-plugin-markdown:
{
"xo": {
"extensions": ["md"]
}
}