Note
Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.
Segment's ESLint configurations.
Install this config package and ESLint:
$ npm install --save-dev @segment/eslint-config
Next, install any necessary peer dependencies warned about when you ran the above command.
This repository comes with three different main configurations: client
, server
, and mocha
. Check each directory's README.md
for usage information.
For more details about how ESLint's shareable configurations work, see the ESLint documentation.