Skip to content

Releases: vintasoftware/eslint-config-vinta

Release v1.1.1

30 Jul 18:20
Compare
Choose a tag to compare

Changelog

This release fixes a compatibility issue with ESLint (version <= 5) not recognizing the local extends.

Release v1.1.0

18 Jul 13:08
Compare
Choose a tag to compare

Changelog

ESLint changes

  • Disabled no-nested-ternary (Prettier nests ternaries in a readable way)
  • Removed the forced configurations of sonarjs and unicorn from the base vinta config

Plugin: Babel

  • Disabled ESLint rules that conflict with Babel's rules: camelcase, new-cap, no-invalid-this, no-unused-expressions, valid-typeof (this only applies if the babel plugin is being used)

Plugin: Import

  • Disabled import/exports-last
  • Disabled import/no-unused-modules

Plugin: Jest

  • Enabled jest/require-tothrow-message as warn
  • Enabled jest/prefer-called-with as warn
  • Enabled jest/no-truthy-falsy as error

Plugin: Promise

  • Changed promise/no-promise-in-callback from error to warn
  • Disabled promise/catch-or-return
  • Enabled promise/no-callback-in-promise as warn

Plugin: React

  • Changed react/jsx-boolean-value from always to never
  • Disabled react/sort-prop-types
  • Enabled react/no-array-index-key as warn

Plugin: SonarJS

  • Changed sonarjs/no-duplicate-string limit from 5 to 3

Prettier changes

  • Changed jsxBracketSameLine from true to false
  • Changed arrowParens from avoid to always

Dependency changes

  • Updated eslint-plugin-jest from 22.7.1 to 22.7.2

Release v1.0.0

12 Jul 19:09
Compare
Choose a tag to compare

First Release.