Jorgegonzalez Zoe Save Abandoned

? Zero-config ESLint toolchain with sensible defaults.

Project README

Zoe

Zoe code style: prettier Commitizen friendly semantic-release npm-downloads npm-version npm-license top-language last-release Maintainability

Installation

Install locally:

npm i -D zoe

or globally:

npm i -g zoe

Create an ESLint Config

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:

Extend from Zoe to enable all core rules, plugins, and React support

{
  "extends": "zoe"
}

Overrides

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"
  }
}

Tips

Add Zoe to package.json#scripts

{
  "scripts": {
    "lint": "zoe",
    "lint:fix": "zoe --fix"
  }
}

Create a .prettierrc file to keep Zoe in sync with your Prettier config

Zoe will respect all custom Prettier settings

{
  "singleQuote": true
}

Create a .eslintignore file to make Zoe skip certain paths

**/node_modules/**
lib
build

License

MIT © Jorge Gonzalez

Open Source Agenda is not affiliated with "Jorgegonzalez Zoe" Project. README Source: jorgegonzalez/zoe
Stars
113
Open Issues
0
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating