Detalhes do pacote

eslint-config-netflix

Netflix232MIT2.0.0

An ESLint config for JavaScript projects, brought to you by Netflix

eslint, config, shared, lint

readme (leia-me)

eslint-config-netflix

Shared ESLint config for JavaScript code produced by Netflix's Data Engineering and Analysis group but designed to be usable across the company. By adopting a common ESLint config, we hope to encourage consistent style and quality across all of our repos.

The lion's share of ESLint configuration should be defined here rather than each project's own .eslintrc. If a project's maintainers want to override some configuration value, they can do it in their own .eslintrc.

Usage

npm install --save-dev eslint-config-netflix

Then, extend netflix in your .eslintrc:

{
  "extends": "netflix"
}

A Note on Dependencies

eslint-config-netflix has babel-eslint and eslint as peer deps because it relies on recent versions of those packages for ES2015 support.

changelog (log de mudanças)

2.0.0 (2017-09-08)

Features

  • support use with latest react-scripts (2202dcdc)

Breaking Changes

  • (feat) no-reclare added as an error
  • (fix) duplicate no-var removed

    (bc339e7a)

1.0.2-0 (2017-04-13)

Breaking Changes

  • (feat) no-reclare added as an error
  • (fix) duplicate no-var removed

    (bc339e7a)

1.0.1 (2017-04-12)

Bug Fixes

  • react's not a peer dep here (21858de8)

1.0.0 (2017-04-12)

Features

Breaking Changes

  • Class methods much use this
  • Template brackets in tem,plate strings only (to help catch typos and facillitate replacing older templating solutions)
  • Encouraging arrow fns in callbacks

    (e320b556)

1.0.0-alpha.2 (07.18.2016)

Relax prefer-arrow-callback, no-unused-vars, curly

1.0.0-alpha.1 (07.18.2016)

Initial alpha release