@zeplin/eslint-config

2.3.2 • Public • Published

eslint-config

Zeplin's homegrown .eslintrc as an extensible shared config. 🌳

Usage

Package is available on npm:

npm install @zeplin/eslint-config

Configurations

Base

eslint-config (or eslint-config/base) is the base configuration.

  • Add extends: "@zeplin/eslint-config" to your .eslintrc.

Browser

eslint-config/browser adds preact support for browser use, requiring eslint-plugin-react as well.

  • Install eslint-plugin-react using npm:
npm install eslint-plugin-react
  • Add extends: "@zeplin/eslint-config/browser" to your .eslintrc.

Node.js

eslint-config/node overrides the base config, providing better support for Node.js environment.

  • Add extends: "@zeplin/eslint-config/node" to your .eslintrc.

/@zeplin/eslint-config/

    Package Sidebar

    Install

    npm i @zeplin/eslint-config

    Homepage

    zeplin.io

    Weekly Downloads

    74

    Version

    2.3.2

    License

    MIT

    Unpacked Size

    15.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • ceylanismail
    • dirtybit
    • mammet
    • merih
    • zeplin-npm