Skip to content

Releases: cloudfour/eslint-config

v18.0.0

28 Mar 21:52
c3c3da9
Compare
Choose a tag to compare

Major Changes

Read more

v17.1.0

22 Jul 16:30
1cf173f
Compare
Choose a tag to compare

Minor Changes

v17.0.1

21 Jul 18:53
59680a9
Compare
Choose a tag to compare

Patch Changes

v17.0.0

21 Jul 18:30
434c9f5
Compare
Choose a tag to compare

Major Changes

Minor Changes

v16.0.0

23 Mar 17:42
fdad855
Compare
Choose a tag to compare

Major Changes

v15.0.1

03 Nov 18:19
Compare
Choose a tag to compare

Patch Changes

  • e14e2ba #193 Thanks @calebeby! - Fix published files so @cloudfour/prefer-early-return is included

v15.0.0

21 Oct 17:51
962271a
Compare
Choose a tag to compare

Major Changes

  • 2d8f332 #171 Thanks @calebeby! - Add @cloudfour/prefer-early-return rule (enabled by default)

    This rule suggests to change code like this:

    function a() {
      if (_) {
        a();
        b();
        c();
      }
    }

    into:

    function a() {
      if (!_) return;
      a();
      b();
      c();
    }

Minor Changes

v14.0.0

15 Sep 17:18
f26d717
Compare
Choose a tag to compare

Major Changes

Minor Changes

  • 1c5f202 #160 Thanks @calebeby! - Disable node/no-missing-* rules for TS, so that it doesn't error for importing *.ts files

v13.0.0

14 Aug 20:14
d912618
Compare
Choose a tag to compare

Major Changes

  • 5943663 #137 Thanks @calebeby! - Remove rule: @cloudfour/no-param-reassign

    This change is breaking if you have // eslint-disable-next-line @cloudfour/no-param-reassign in your code, or if you are manually enabling/configuring this rule. In either case, the migration path is to remove the rule configuration

  • 3112bb7 #136 Thanks @calebeby! - Add support for linting TypeScript files

    If you have .ts or .tsx files, ESLint should automatically start linting them once you update.

    If typescript-eslint is unable to automatically infer your tsconfig.json location, you may need to manually configure that

v12.0.0

20 Jul 17:18
Compare
Choose a tag to compare

Major/Breaking Changes

  • Update dependency eslint-plugin-unicorn to v21

Minor Changes

  • Update dependency eslint to v7.5.0
  • Update dependency eslint-config-xo to v0.32.1
  • Update dependency eslint-formatter-pretty to v4
  • Update dependency eslint-plugin-jsdoc to v30
  • Update dependency kleur to v4.0.2
  • Update jest monorepo to v26.1.0