Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

v26.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 06 Feb 17:43
· 248 commits to main since this release

26.0.0-beta.1 (2020-02-06)

Bug Fixes

  • base: Increase soft limit of complexity rule (a78a702)
  • Fine-tune soft limits of max-lines and max-dependencies (a123f41)
  • typescript: Do not "fix" 'any' to 'unknown' (154a42b)

chore

  • Refactor glob-patterns module (1db1f22)
  • Remove support for Node<10 (6c45b41)
  • Update dependencies (b52305e)

Features

  • Add styles/no-default-export (d8b0242)
  • Add styles/no-null (a30511b)
  • Improve prettier support (1cd6537)
  • base: Add no-dupe-else-if (0ee8136)
  • base: Add prefer-exponentiation-operator (fd41a01)
  • base: Add prefer-regex-literals (01599bd)
  • base: Add require-atomic-updates (69f2c36)
  • base: Add require-unicode-regexp (0b44ba5)
  • base: Disallow assignments of imports (0e6af86)
  • base: Disallow return in constructors (f9edbbc)
  • base: Disallow return in setters (f3f574c)
  • base: Require grouping of setters and getters (94792f2)
  • Add bunch of JSDoc rules (680550e)

BREAKING CHANGES

  • The prettier config now uses tabs instead of spaces. This is not actually breaking since Prettier will just format your code in a different way, but it will produce a lot of noise.
  • globPatterns.js has been renamed to glob-patterns.js
  • base: Require u flag in all regexes. The u flag adds unicode support and reports invalid regex patterns.
  • base: ESLint now reports a potential unsafe use of +=,-=,*=,/= in combination with async await
  • base: Regex literals are now preferred over new RegExp() if the regex is not dynamic.
  • base: The exponentiation operator is now preferred over Math.pow()
  • Support for Node versions below 10 has been removed.
  • base: Setters can't return values. This is enforced with a linting rule now. See https://eslint.org/docs/rules/no-setter-return
  • base: Assignments of imports are now disallowed. They throw a runtime error anyway. See https://eslint.org/docs/rules/no-import-assign
  • base: Certain If-else usages that were an error anyway are now a linting error. See ttps://eslint.org/docs/rules/no-dupe-else-if
  • base: Returning values from constructors is not allowed anymore. See https://eslint.org/docs/rules/no-constructor-return
  • base: Setters and getters now need to be grouped together. See https://eslint.org/docs/rules/grouped-accessor-pairs
  • Remove official ESLint 5 support