Package detail

eslint-config-bob

bconnorwhite37MIT2.0.1

ESLint configuration for packages built with @bconnorwhite/bob

eslint, config, lint, eslintconfig

readme

eslint-config-bob

npm typescript Coverage Status GitHub stars Twitter Follow


ESLint configuration for packages built with @bconnorwhite/bob.

Reasonable linting rules for TypeScript, React, and JSON.

Installation

yarn add eslint-config-bob
npm install eslint-config-bob

Usage

In .eslintrc.json:

{
  "extends": "eslint-config-bob"
}


Dependenciesdependencies


Peer DependenciesDavid

  • eslint: An AST-based pattern checker for JavaScript.


Dev DependenciesDavid


License license

MIT

changelog

2.0.1 (2022-01-25)

Bug Fixes

  • turn off react/react-in-jsx-scope (caf6e39)

2.0.0 (2022-01-25)

Bug Fixes

BREAKING CHANGES

  • eslint 8

1.3.3 (2021-03-30)

Bug Fixes

Reverts

  • let @typescript-eslint/semi handle semis (f83b1ab)

1.3.2 (2020-10-15)

Bug Fixes

  • downgrade prefer-destructuring to warn (a918c9d)

1.3.1 (2020-10-13)

Bug Fixes

  • set no-restricted-globals (fcc28ac)

1.3.0 (2020-10-03)

Bug Fixes

  • remove no-var-requires for js files (2bb4e29)
  • turn off handle-callback-err (238b8e4)

Features

  • added support for JSON files (01b731e)
  • include .d.ts files (bdb0909)
  • no space after throw keyword (174c971)

1.2.1 (2020-10-03)

Bug Fixes

  • adjust keyword-spacing for catch (e770fc9)

1.2.0 (2020-10-03)

Bug Fixes

  • downgrade no-sync to warn (b07fc3d)

Features

  • add react/jsx-pascal-case (eb31bf2)
  • added react/jsx-wrap-multilines (6116eea)

1.1.1 (2020-09-30)

Bug Fixes

  • ignore coverage directory (cf126a3)

1.1.0 (2020-09-30)

Bug Fixes

  • downgrade nested-callbacks to a warning (5f174de)

Features

  • allow trailing spaces in comments to support tsdoc wrapping (adf41e8)
  • include /test (429adea)

1.0.5 (2020-09-25)

Bug Fixes

  • switch operator-linebreak to before (9f33b3f)
  • turn off no-use-before-define (e9b143e)
  • turn off react/display-name (0311a17)

1.0.4 (2020-09-23)

Bug Fixes

  • use quote-props consistent-as-needed (80c775d)

Reverts

  • return max-lines to 200 (5577e1f)

1.0.3 (2020-09-21)

Bug Fixes

1.0.2 (2020-09-20)

Bug Fixes

  • increase max-lines (9a78e1c)
  • require no space after for and while keywords (380fcfe)
  • require space after array in object (0a95f80)

1.0.1 (2020-09-19)