Skip to content

Releases: civiccc/eslint-config-brigade

v7.0.0

21 Dec 22:17
Compare
Choose a tag to compare

This release brings with it a slew of new rules to the config. Notably, there are now a bunch of added rules around arrow functions. We also update some of the existing rules based off of our current usage.

Added rules:

  • prefer-spread
  • prefer-rest-params
  • no-dupe-class-members
  • no-const-assign
  • arrow-spacing
  • prefer-promise-reject-errors
  • no-useless-return
  • no-useless-escape
  • no-useless-concat
  • no-useless-call
  • no-multi-spaces
  • no-loop-func
  • no-extra-label
  • no-empty-pattern
  • no-case-declarations
  • accessor-pairs
  • valid-typeof
  • use-isnan
  • no-unsafe-finally
  • no-unreachable
  • no-template-curly-in-string
  • no-sparse-arrays
  • no-regex-spaces
  • no-prototype-builtins
  • no-obj-calls
  • no-irregular-whitespace
  • no-invalid-regexp
  • no-extra-semi
  • no-extra-boolean-cast
  • no-ex-assign
  • no-empty-character-class
  • no-empty
  • no-duplicate-case
  • no-dupe-keys
  • no-dupe-args
  • no-debugger
  • no-control-regex
  • no-constant-condition
  • no-cond-assign
  • no-await-in-loop
  • getter-return
  • no-return-await
  • arrow-parens

Modified rules:

  • valid-jsdoc

Added Node rules:

  • no-process-exit
  • no-path-concat
  • no-new-require
  • global-require

This release also bumps the ESLint version from v4.0.0 -> v4.13.1.

Further, to solve some strange import issues we were seeing, we regenerated the yarn.lock file.

v6.2.1

14 Nov 21:41
Compare
Choose a tag to compare

Publishing bug-fix. We removed the rule jsx-a11y/no-noninteractive-element-handlers which seems to have never existed.

v6.2.0

06 Nov 20:25
Compare
Choose a tag to compare

This turns off a few rules that we have found to either be unused or too noisy in production:

  • max-nested-callbacks: Only an issue and too noisy in tests
  • react/display-name: Babel does this for us now that we use classes
  • react/jsx-handler-names: Too noisy and doesn't always make sense
  • react/prefer-stateless-function: We don't widely use these yet

v6.1.0

12 Jul 18:11
Compare
Choose a tag to compare

This adds a new /node entry point to be used for node-only repos.

v6.0.1

29 Jun 00:58
Compare
Choose a tag to compare

Rule change/fix for space-before-function-paren

Was:

'space-before-function-paren': [2, 'never'],

Changed to:

'space-before-function-paren': [
  2,
  {
    anonymous: 'never',
    named: 'never',
    asyncArrow: 'always',
  },
],

v6.0.0

28 Jun 17:11
Compare
Choose a tag to compare

See #25 for changes.

v5.0.0

19 May 06:51
Compare
Choose a tag to compare
  • Upgrades eslint-plugin-react and eslint-plugin-jsx-a117 to their latest versions
  • Improves some rules
  • Starts to move towards being more explicit with listing all rules rather than using */recommended*

v4.1.0

12 Apr 22:41
Compare
Choose a tag to compare

This includes support for Promise by setting env: { es6: true } in the config.

Tracking for discussion about why setting the parserOptions: { ecmaVersion: 2017 } didn't do this for us: eslint/eslint#8453

v4.0.3

11 Apr 01:31
Compare
Choose a tag to compare

Small fix to disable rule import/no-anonymous-default-export as it hasn't actually been released yet! Tracking: import-js/eslint-plugin-import#791

v4.0.2

11 Apr 01:18
Compare
Choose a tag to compare

Fixes a bug in the value give to the option of rule react/jsx-first-prop-new-line