Skip to content

Releases: briansokol/eslint-config

v7.0.1

07 Aug 22:41
1e1ec69
Compare
Choose a tag to compare

Package Changes

  • Upgrading dependencies to remove dependency on insecure version of Minimist.

Process Changes

  • Updating Travis configuration to fix builds that break on Node 18. Don't worry, this package works fine with Node 18+, it's just an issue with the image Travis uses for builds.

v7.0.0

25 Jan 00:12
8c7ea8f
Compare
Choose a tag to compare

Breaking Changes

  • This package now requires ESLint 8 or higher.
  • This package now requires node versions: ^12.22.0 or ^14.17.0 or >=16.0.0

Package Changes

  • Bumping dependencies to latest
  • Updating readme with latest peer dependencies

Process Changes

  • Update docgen to account for new rules
  • Updating commit hooks to go along with newer versions of husky and lint-staged

v6.0.2

18 Nov 20:09
a826bd6
Compare
Choose a tag to compare

Fixes

  • In v6.0.1, I stopped committing the transpiled JavaScript files. I commit the TypeScript source files and let the CI server build the JavaScript files. However, I forgot to tell Travis CI not to clean up the build artifacts before it deployed, so the previous version was published with no files at all 😅.
  • This release contains all the features of v6.0.1.

v6.0.1 (Unpublished)

18 Nov 19:36
54cb1de
Compare
Choose a tag to compare

Note
This version was unpublished. I forgot to tell Travis not to clean up the build artifacts before deploying, and so this version deploy with no actual code.

Package Changes

  • Remove peer dependency on Jest. The Jest ESLint rules will complain on their own if you try to use the preset and don't have Jest installed.

Rules Changes

  • no-use-before-define is turned off in order to prevent false positives with TypeScript imports.
    • @typescript-eslint/no-use-before-define will be used instead.
  • .tsx extension whitelisted for node module resolution, for React components built with TypeScript.
  • .d.ts extension whitelisted for node module resolution, for pure type files with no JavaScript code present.

Process Changes

  • Transpiled JS files will no longer be committed to this repo. They are built on the CI server before being published.

v6.0.0

17 Nov 20:20
8cd5e45
Compare
Choose a tag to compare

Breaking Changes

  • Minimum Node version increased to 10.13.0.
  • ESLint 7 and Prettier 2 now required.
    • As part of this, default Node rules have become their own plugin, and may not be configured exactly as before.
  • Jest config has been broken out into it's own add-on config.

Process Updates

  • Documentation generator updated to account for rules with more than one slash in the name.
  • Switch from Yarn 1 to npm 7.

v5.0.0

01 Dec 16:11
5e4fa4e
Compare
Choose a tag to compare

Changes

The following TypeScript rules are now off:

  • @typescript-eslint/explicit-function-return-type
  • @typescript-eslint/no-empty-interface
  • @typescript-eslint/no-unused-vars

v4.0.1

28 Aug 03:57
8ee738e
Compare
Choose a tag to compare

Minor Changes

  • Bumped version number to 4.0.1 to fix publishing SNAFU.

v4.0.0

28 Aug 03:51
66efcea
Compare
Choose a tag to compare

Breaking Changes

  • ESLint requirement bumped to ^6.
  • Official support for TypeScript 2 dropped, but it may still work if you need it.
  • Some rules changed (See below).
  • @typescript-eslint/eslint-plugin updated, which contains breaking changes to rules (see the changelog for details).

Bug Fixes

  • eslint-utils updated to 1.4.1 to resolve a security vulnerability.

Internal Changes

  • Docgen script updated for eslint-compat.
  • Explicit license file (ISC) added.

Rules Changes

  • no-negated-condition changed from 'warn' to 'off'.
  • require-atomic-updates changed from 'warn' to 'off'.

v3.0.0

13 Jul 21:48
2bf51ff
Compare
Choose a tag to compare

Internal Changes

  • Configs are now written with TypeScript.

Documentation

  • Full list of rules is now automatically generated in the docs/ folder.
  • Links to external documentation added to README.

Rules

  • Major changes to existing rules:
    • Many additional ESLint rules enabled.
    • TypeScript rules are more strict.
    • React Native rules are now active (they actually were not before, oops).
  • React rules added for hooks.
  • Added linting against a Browserslist config.

v2.0.1

02 Jul 21:46
c4a792a
Compare
Choose a tag to compare

Changes

  • Changed the deploy script to mark the latest version as latest instead of next (oops).
  • Updated build script to run all linting scripts.
  • Updated project to use current version of itself to lint instead of the version from npm.
  • Minor updates to readme.