Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-graph

graph-uk37MIT9.2.1-alpha

Graph’s extended ESLint config

graph, eslint, eslintconfig, config, javascript, styleguide

readme

eslint-config-graph

npm version

This package provides extended ESLint config according to the Graph styleguide, which is based on AirBnB.

Installation

To install package run npm install eslint-config-graph --save-dev

Configuration

Use a JSON file to specify configuration information for an entire directory and all of its subdirectories. This can be in the form of an .eslintrc.json file or an eslintConfig field in a package.json file, both of which ESLint will look for and read automatically.

Here’s an example .eslintrc.json file:

{
  "extends": [
    "graph"
  ]
}

See ESLint documentation for more options.

License

MIT

changelog

9.2.1-alpha

2020-06-05

  • updated eslint-config-airbnb to 18.1.0
  • updated eslint-config-graph-base 4.0.1-alpha

9.2.0-alpha

2020-02-06

  • turned off react/jsx-props-no-spreading rule

9.1.0-alpha

2020-01-27

  • added react hooks rules

9.0.0-alpha

2020-01-24

  • updated eslint-config-airbnb to 18.0.1
  • updated eslint-config-graph-base to 4.0.0

8.1.0-alpha

2018-08-14

  • updated eslint-config-airbnb to 17.1.0
  • updated eslint-config-graph-base to 3.1.0

8.0.0-alpha

2018-07-17

  • updated eslint-config-airbnb to 17.0.0
  • updated eslint-config-graph-base to 3.0.0

7.0.0

2017-10-26

  • updated eslint-config-airbnb to 16.1.0

6.1.0

2017-08-23

  • updated eslint-config-airbnb to 15.1.0 to make the module compatible with eslint 4.4

6.0.0

2017-06-06

  • updated eslint-config-airbnb to 15.0.1
  • extracted base configuration rules into a separate module

5.0.0

2017-01-09

  • updated eslint-config-airbnb to 14.0.0

4.1.0

2016-12-22

  • set arrow-parens
  • skip shape props in react/no-unused-prop-types
  • deny any value in propTypes

4.0.0

2016-12-21

  • update eslint-config-airbnb to 13.0.0

3.0.0

2016-10-05

  • update eslint-config-airbnb to 12.0.0
  • remove eslint and its plugins from dependency list

2.0.0

2016-06-10

  • update eslint-config-airbnb to 9.0.0
  • update eslint-plugin-react to 5.1.0
  • configurations files match airbnb
  • set tabs for react/jsx-indent and react/jsx-indent-props
  • enable no-underscore-dangle, but not after this
  • enable arrow-body-style
  • disable prefer-template
  • disable react/prefer-es6-class
  • disable react/prefer-stateless-function
  • disable react/jsx-space-before-closing
  • disable react/jsx-first-prop-new-line

1.0.0

2016-04-15

  • update eslint-config-airbnb to 7.0.0
  • update eslint-plugin-react to 4.3.0
  • add eslint-plugin-jsx-a11y
  • add eslint v2.7.0 in perDependencies section
  • enable one-var-declaration-per-line
  • enable jsx-closing-bracket-location
  • enable jsx-indent-props
  • enable prefer-es6-class
  • enable jsx-space-before-closing
  • disable max-len
  • disable consistent-return
  • disable arrow-body-style

0.3.0

2015-12-29

  • update eslint-config-airbnb to v2.1.1
  • remove object-shorthand option overriding
  • disable react/jsx-closing-bracket-location rule
  • disable react/jsx-indent-props rule

0.2.0

2015-12-11

  • don't use a strict version of eslint-plugin-react
  • update eslint-config-airbnb to v2.0.0
  • add object-curly-spacing rule

0.1.1

2015-11-27

  • remove restParams option overriding

0.1.0

2015-11-27

  • first version of the config