Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greylocklabs/eslint-config
Greylock Labs ESLint rules
https://github.com/greylocklabs/eslint-config
babel eslint eslint-config javascript js jsdoc jsx nodejs react style-guide tsx typescript vue
Last synced: about 4 hours ago
JSON representation
Greylock Labs ESLint rules
- Host: GitHub
- URL: https://github.com/greylocklabs/eslint-config
- Owner: greylocklabs
- Created: 2017-11-09T16:42:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T20:00:24.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T17:39:30.675Z (23 days ago)
- Topics: babel, eslint, eslint-config, javascript, js, jsdoc, jsx, nodejs, react, style-guide, tsx, typescript, vue
- Language: JavaScript
- Homepage:
- Size: 1.9 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
Awesome Lists containing this project
README
# @greylocklabs/eslint-config
> Greylock Labs ESLint rules
---
This package contains all of our ESLint rules.
[![npm version](https://badge.fury.io/js/%40greylocklabs%2Feslint-config.svg)](https://badge.fury.io/js/%40greylocklabs%2Feslint-config)
[![Build Status](https://travis-ci.org/greylocklabs/js.svg?branch=master)](https://travis-ci.org/greylocklabs/js)## Installation
Install the package and all of its peer dependencies (works with `npm` or `yarn`):
```sh
$ npx install-peerdeps --dev @greylocklabs/eslint-config
```Afterwards, create a `.eslintrc` file in your root project folder and add the following:
```json
{
"extends": "@greylocklabs"
}
```## Configuring
To override anything, simply add a `rules` property to your `.eslintrc`
file and add new or existing rules to it with your preferred settings:```json
{
"extends": "@greylocklabs",
"rules": {
"arrow-spacing": "off"
}
}
```## Testing
To run tests for this package, install the development dependencies with `npm install` from this folder and then run
`npm test`.## License
MIT License. See [LICENSE](./LICENSE) file for details.