Skip to content

Release v1.1.0

Compare
Choose a tag to compare
@victorfsf victorfsf released this 18 Jul 13:08
· 61 commits to master since this release

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