ESLint config for ulivz
This config is supposed to work with XO or eslint-config-xo.
modified from eslint-config-rem
Features
- Indent with 2 spaces and no semicolon
- Prettier!
- 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"