Skip to content

Releases: theoludwig/eslint-config-conventions

v14.2.0

21 May 17:42
10b5a0d
Compare
Choose a tag to compare

14.2.0 (2024-05-21)

Features

  • support eslint-plugin-unicorn@^52.0.0 and eslint-plugin-unicorn@^53.0.0 (0dcde0a)

Bug Fixes

  • allow to ignore floating promise with void operator: @typescript-eslint/no-floating-promises (10b5a0d)
  • relax @typescript-eslint/member-delimiter-style (b180eae)

v14.1.0

16 Feb 19:06
31b226f
Compare
Choose a tag to compare

14.1.0 (2024-02-16)

Features

  • add @typescript-eslint/no-require-imports (6e6a8d7)
    Note: Not considered breaking, as @typescript-eslint/no-var-requires is already there.
    You should already not use, require in your codebase.
    It was a mistake to not include this rule.

    However, the newly added rule, will now report an error for the following example code:

    const [loaded, error] = useFonts({
      CustomFont: require("../assets/fonts/CustomFont.ttf")
    })

    Must read: "Every change breaks someones workflow", https://xkcd.com/1172/

  • add support for @typescript-eslint v7 (dbe252f)

v14.0.0

08 Feb 22:12
256a502
Compare
Choose a tag to compare

14.0.0 (2024-02-08)

⚠ BREAKING CHANGES

  • New rules introduced
  • deps: peerDependencies: eslint@^8.56.0
    eslint-plugin-import@^2.29.1
    eslint-plugin-unicorn@^51.0.1
    typescript@^5.3.3
    @typescript-eslint/eslint-plugin@^6.21.0
    @typescript-eslint/parser@^6.21.0

Features

  • add @typescript-eslint/no-array-delete (89c012c)
  • add @typescript-eslint/no-useless-template-literals (7abcc17)
  • add @typescript-eslint/prefer-as-const (256a502)
  • add @typescript-eslint/prefer-find (b72745b)
  • add @typescript-eslint/prefer-promise-reject-errors (b0f6ef5)
  • add import/no-anonymous-default-export (c9365be)
  • add no-constant-binary-expression (17e90bc)
  • add no-else-return (8585574)
  • add no-sparse-arrays (fce826e)
  • add no-useless-concat (c1a524e)
  • add promise/no-multiple-resolved (a5036c8)
  • add promise/no-nesting (00b7a2a)

Build System

v13.1.0

21 Dec 23:25
f243013
Compare
Choose a tag to compare

13.1.0 (2023-12-21)

Features

  • support eslint-plugin-unicorn@^50.0.0 (f243013)

v13.0.0

14 Nov 11:54
d3d71f9
Compare
Choose a tag to compare

13.0.0 (2023-11-14)

⚠ BREAKING CHANGES

  • New rule introduced
  • deps: peerDependencies:
    eslint@^8.53.0
    eslint-plugin-import@^2.28.1
    eslint-plugin-promise@^6.1.1
    eslint-plugin-unicorn@^49.0.0
    @typescript-eslint/eslint-plugin@^6.11.0
    @typescript-eslint/parser@^6.11.0

Features

  • add @typescript-eslint/no-unsafe-unary-minus (d3d71f9)

Bug Fixes

  • relax unicorn/no-array-push-push (6a064c2)

Build System

v12.0.0

18 Oct 11:10
d91b2a2
Compare
Choose a tag to compare

12.0.0 (2023-10-18)

⚠ BREAKING CHANGES

  • deps: peerDependencies: eslint@^8.51.0
    eslint-plugin-import@^2.28.1
    eslint-plugin-promise@^6.1.1
    eslint-plugin-unicorn@^48.0.1
  • deps: Bump minimum supported Node.js >= 18.0.0

Features

  • replace no-new-object (deprecated) rule with no-object-constructor (d91b2a2)

Build System

v11.0.1

18 Jul 21:14
d149fdd
Compare
Choose a tag to compare

11.0.1 (2023-07-18)

Bug Fixes

  • relax @typescript-eslint/prefer-nullish-coalescing (6345bdd)
  • relax no-duplicate-imports (4e99d69)
  • relax unicorn/consistent-function-scoping (d149fdd)

v11.0.0

18 Jul 20:20
adf01e1
Compare
Choose a tag to compare

11.0.0 (2023-07-18)

⚠ BREAKING CHANGES

  • New rules introduced
  • deps: peerDependencies: eslint-plugin-unicorn@^48.0.0

Features

  • add unicorn/consistent-destructuring (07595cc)
  • add unicorn/consistent-function-scoping (244b746)
  • add unicorn/explicit-length-check (eab075e)
  • add unicorn/no-array-callback-reference (7f7ab46)
  • add unicorn/no-array-for-each (80c00f5)
  • add unicorn/no-array-method-this-argument (2fcede3)
  • add unicorn/no-array-push-push (cbbb8df)
  • add unicorn/no-document-cookie (8837b87)
  • add unicorn/no-empty-file (2fd4edb)
  • add unicorn/no-new-array (d59b088)
  • add unicorn/no-new-buffer (f622982)
  • add unicorn/number-literal-case (c431a20)
  • add unicorn/prefer-modern-math-apis (8bfeaad)
  • add unicorn/prefer-number-properties (807c201)
  • add unicorn/require-array-join-separator (381f5cb)
  • add unicorn/template-indent (adf01e1)

Build System

v10.1.0

14 Jul 21:24
f89c441
Compare
Choose a tag to compare

10.1.0 (2023-07-14)

Features

  • add support for typescript-eslint v6.0.0 (f89c441)

v10.0.0

02 Jul 14:07
34ec74c
Compare
Choose a tag to compare

10.0.0 (2023-07-02)

⚠ BREAKING CHANGES

  • deps: peerDependencies: eslint@^8.44.0

Bug Fixes

  • update author - Théo LUDWIG (f5a69d6)

Build System