https://github.com/zeplin/eslint-config
Zeplin eslint config 🌳
https://github.com/zeplin/eslint-config
eslint-config
Last synced: about 1 year ago
JSON representation
Zeplin eslint config 🌳
- Host: GitHub
- URL: https://github.com/zeplin/eslint-config
- Owner: zeplin
- License: mit
- Created: 2017-11-23T07:39:18.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2025-07-03T09:09:40.000Z (about 1 year ago)
- Last Synced: 2025-07-05T13:47:33.183Z (about 1 year ago)
- Topics: eslint-config
- Language: JavaScript
- Homepage:
- Size: 238 KB
- Stars: 0
- Watchers: 25
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-config
Zeplin's homegrown `.eslintrc` as an extensible shared config. 🌳
## Usage
Package is available on npm:
```sh
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:
```sh
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`.