Releases: civiccc/eslint-config-brigade
v7.0.0
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
Publishing bug-fix. We removed the rule jsx-a11y/no-noninteractive-element-handlers
which seems to have never existed.
v6.2.0
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 testsreact/display-name
: Babel does this for us now that we use classesreact/jsx-handler-names
: Too noisy and doesn't always make sensereact/prefer-stateless-function
: We don't widely use these yet
v6.1.0
This adds a new /node entry point to be used for node-only repos.
v6.0.1
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
v5.0.0
- Upgrades
eslint-plugin-react
andeslint-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
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
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
Fixes a bug in the value give to the option of rule react/jsx-first-prop-new-line