? Zero-config ESLint toolchain with sensible defaults.
zoe --fix
.Install locally:
npm i -D zoe
or globally:
npm i -g zoe
The Zoe CLI will support React and ES6 syntax with no configuration. For additional ESLint tooling support, create a .eslintrc
file and extend the configs that you need:
{
"extends": "zoe"
}
Zoe uses Prettier's defaults for style and cosmetic rules, and will respect Prettier's various configuration options and files.
Most rules can be overrided normally by adding them to your .eslintrc#rules
:
{
"extends": "zoe",
"rules": {
"no-console": "error"
}
}
package.json#scripts
{
"scripts": {
"lint": "zoe",
"lint:fix": "zoe --fix"
}
}
.prettierrc
file to keep Zoe in sync with your Prettier configZoe will respect all custom Prettier settings
{
"singleQuote": true
}
.eslintignore
file to make Zoe skip certain paths**/node_modules/**
lib
build