Skip to content

Releases: patrickrgaffney/eslint-config-pat

v5.0.0

25 May 20:31
9575d03
Compare
Choose a tag to compare

Changes

  • pat: Add no-constant-binary-expression rule.
  • pat: Add no-unused-private-class-members rule.
  • pat: Add prefer-object-has-own rule.
  • pat/mocha: Add mocha/no-empty-description rule.
  • pat/react: Add react/prefer-exact-props rule.
  • pat/react: Add react/hook-use-state rule.
  • pat/react: Add react/no-arrow-function-lifecycle rule.
  • pat/react: Add react/no-invalid-html-attribute rule.
  • pat/react: Add react/no-namespace rule.
  • pat/react: Add react/no-unstable-nested-components rule.
  • pat/react: Add react/no-unused-class-component-methods rule.
  • pat/react: Add react/iframe-missing-sandbox rule.
  • pat/react: Add react/jsx-key rule.
  • pat/react: Add react/jsx-newline rule.
  • pat/react: Add react/jsx-no-constructed-context-values rule.
  • pat/react: Add react/jsx-no-leaked-render rule.

Dependencies

Full Changelog: v4.6.0...v5.0.0

v4.6.0

06 Oct 18:15
2f71cac
Compare
Choose a tag to compare

Changes

  • pat: set ecmaVersion option to latest.

Dependencies

v4.5.0

06 Oct 18:12
eb4ed14
Compare
Choose a tag to compare

Changes

  • pat: Add enforceForJSX option to no-unused-expressions.

Dependencies

v4.4.1

27 Dec 18:44
9314d54
Compare
Choose a tag to compare

Dependencies

v4.4.0

16 Dec 03:20
2e94062
Compare
Choose a tag to compare

Added

  • pat: Enable new ESLint rule no-nonoctal-decimal-escape.
  • pat: Enable new ESLint rule no-unsafe-optional-chaining.

Changes

  • pat/node: Don't warn on import of lodash.

Dependencies

4.3.0

21 Oct 04:22
70f6229
Compare
Choose a tag to compare

Added

  • pat: Set new ignoreDefaultValues option on no-magic-numbers.
  • pat/react: Set new allow: as-needed option on react/jsx-filename-extension.

Changes

  • pat: ECMA version is now 2021.
  • pat: Add all RFC-standard HTTP status codes to no-magic-numbers ignore list.

Fixes

  • pat/mocha now extends pat base config.

Dependencies

v4.2.0

15 Aug 14:17
a7a460e
Compare
Choose a tag to compare

Added

  • pat/mocha: expect defined as a readonly global.

Dependencies

v4.1.0

10 Aug 14:39
c2a7f51
Compare
Choose a tag to compare

Added

Changes

  • pat: change complexity limit to 6.
  • pat/mocha: disable ESLint rules no-unused-expressions and max-lines.

Dependencies

v4.0.0

21 Jul 21:36
91ab284
Compare
Choose a tag to compare

It should be noted that I borked the npm version script when updating this, hence we skipped v3.x.x entirely. More reason to eventually automate this.

This was a major, breaking change because the dependencies were moved from peerDependencies to optionalDependencies. Other than that it's fairly unchanged.

Changes

  • pat: Enable the allowSeparatedGroups option to the sort-imports rule.

Dependencies

  • Move all plugins to optionalDependencies. This way you're only alerted to the ones you need based on which config you're using.
  • upgrade [email protected]

v2.3.0

24 Jun 17:18
Compare
Choose a tag to compare

Added

Dependencies