@procore/eslint-config-procore
ESLint configuration used at Procore
Last updated a year ago by ubi .
SEE LICENSE IN LICENSE · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @procore/eslint-config-procore 
SYNC missed versions from official npm registry.

eslint-config

A (hopefully) shared eslint config for Procore

Installation

This package relies on peer dependencies that you can add with this command

yarn add \
  @procore/eslint-config-procore \
  prettier \
  eslint \
  eslint-config-airbnb \
  eslint-config-prettier \
  eslint-plugin-jsx-a11y \
  eslint-plugin-prettier \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-import \
  -DE

Then extend from the config package in your .eslintrc

/* .eslintrc */
{
  "extends": ["@procore/eslint-config-procore"]
}

In your package.json, you can add to the "scripts" so that you can do yarn lint:

"scripts": {
  "lint": "eslint '*/**/*.{js,jsx,ts,tsx}'",
},

If you need to, add a .eslintignore:

/node_modules/**
/coverage/**
/build/**

Current Tags

  • 1.2.0                                ...           latest (a year ago)

4 Versions

  • 1.2.0                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 0.1.0                                ...           2 years ago

Copyright 2014 - 2017 © taobao.org |