@greylocklabs/eslint config

Greylock Labs ESLint rules for all JavaScript / TypeScript projects

Version: 3.1.2 Updated: 02/24/2020

By: greylocklabs License: MIT

Downloads Last 30 Days: 36

Install

npm i @greylocklabs/eslint-config
yarn add @greylocklabs/eslint-config

Repository: https://github.com/greylocklabs/js

CDNs

bundle.run: https://bundle.run/@greylocklabs/eslint-config

jsDelivr: https://cdn.jsdelivr.net/npm/@greylocklabs/eslint-config

unpkg: https://unpkg.com/@greylocklabs/eslint-config

@greylocklabs/eslint-config

Greylock Labs ESLint rules


This package contains all of our ESLint rules.

npm version Build Status

Installation

Install the package and all of its peer dependencies (works with npm or yarn):

$ npx install-peerdeps --dev @greylocklabs/eslint-config

Afterwards, create a .eslintrc file in your root project folder and add the following:

{
  "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:

{
  "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 file for details.

Categories: Vue js