ant-design / ant-design-dark-theme

🌚 Dark theme variables of Ant Design
https://www.antdtheme.com/dark
MIT License
483 stars 34 forks source link

Bump @typescript-eslint/eslint-plugin from 2.34.0 to 3.0.0 #27

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps @typescript-eslint/eslint-plugin from 2.34.0 to 3.0.0.

Release notes

Sourced from @typescript-eslint/eslint-plugin's releases.

v3.0.0

This major release has been a long time coming! We've been saving up breaking changes for a while now, waiting for the ESLint v7 release which we knew would deprecate support for node version 8.

Due to our weekly release cadence, this major release mostly contains breaking changes!

Breaking Changes

Dropped support for Node version 8 (#1420)

In line with ESLint v7 - we've also dropped explicit support for node version 8. This version of node has been end of life since 2019-12-31. We no longer test against the version, so we provide no guarantees about whether or not future versions of our tooling will work on it.

Dropped support for TypeScript 3.2 (#2004)

Old TS versions cause us maintenance pain as we work on integrating tightly with the TypeScript APIs for performance and stability reasons.

As such we've updated our required TS version range to require a minimum of >=3.3.1.

Each version of TS brings bugfixes and features, but most importantly they bring performance improvements. TS 3.9 is releasing with a host of performance improvements that will improve both your build times, and your lint times - so you should endeavour to upgrade if you can. We cannot provide any guarantees around the performance of old TS versions.

Configs

We've updated all of our configs! We've added new rules, old rules, and removed some stylistic rules.

Check out the linked issues for more information about added/removed rules:

  • eslint-recommended config (#1273)
  • recommended config (#1423)
  • recommended-requiring-typechecking (#1423)

Additionally, both of the recommended and recommended-requiring-typechecking sets now inherit from the eslint-recommended set. We noticed that the majority of the time, users were using the sets in tandem, so this just removes one line of config for everyone.

I.e. you can now do the following:

 extends: [
   "recommended",
-  "plugin:@typescript-eslint/eslint-recommended",
   "plugin:@typescript-eslint/recommended"
 ]

Rules Changes

  • ban-types got a rework of its default ban list to provide some more sensible defaults and remove fixers that caused users issues. (#848)
  • no-floating-promises now has the ignoreVoid option set to true by default. (#2003)
  • no-non-null-asserted-optional-chain (non-breaking) now supports TS 3.9's non-null assertion changes.
  • no-unnecessary-condition
    • the ignoreRHS option has been removed. The rule will now only check the RHS when it matters (i.e. in boolean contexts). (#1163)
    • the checkArrayPredicates option has been removed. The rule will now always check array predicate functions. (#1579)
    • the rule now will report if you do an equality check against null/undefined when the value is not nullable. (#1659)
... (truncated)
Changelog

Sourced from @typescript-eslint/eslint-plugin's changelog.

3.0.0 (2020-05-21)

Please see the release notes for v3.0.0

Bug Fixes

  • eslint-plugin: [dot-notation] fix typo in schema (#2040) (242328f)
  • eslint-plugin: correct parser peerDep version (fe59f69)
  • experimental-utils: add back SourceCode.isSpaceBetweenTokens (ae82ea4)
  • typescript-estree: remove now defunct Import node type (f199cbd)
  • typescript-estree: use TSEmptyBodyFunctionExpression for body-less nodes (#1289) (82e7163)

Features

  • eslint-plugin: [ban-types] rework default options (#848) (8e31d5d)
  • eslint-plugin: [no-floating-promises] ignore void operator by default (#2003) (3626a67)
  • eslint-plugin: [prefer-nullish-coalescing][prefer-optional-chain] remove unsafe fixers (52b6085)
  • experimental-utils: upgrade eslint types for v7 (#2023) (06869c9)
  • upgrade to ESLint v7 (#2022) (208de71)
  • eslint-plugin: [no-unnecessary-condition] remove checkArrayPredicates and always check it (#1579) (bfd9b60)
  • eslint-plugin: [no-unnecessary-condition] remove option ignoreRHS (#1163) (ee8dd8f)
  • eslint-plugin: [no-unnecessary-condition] report when non-nullish is compared to null/undefined (#1659) (7fa9060)
  • eslint-plugin: [restrict-template-expressions] allowNumber: true by default (#2005) (643ec24)
  • eslint-plugin: [restrict-template-expressions] rename allowNullable to allowNullish (#2006) (264b017)
  • eslint-plugin: [strict-boolean-expression] rework options (#1631) (cd14482)
  • eslint-plugin: delete deprecated rules (#2002) (da0aec2)
  • eslint-plugin: eslint-recommended: disable no-func-assign (#984) (ae9b8a9)
  • eslint-plugin: eslint-recommended: disable no-obj-calls (#1000) (b9ca14c)
  • eslint-plugin: update eslint-recommended set (#1996) (9a96e18)
  • eslint-plugin: update recommended sets (#2001) (0126b4f)
  • typescript-estree: align nodes with estree 2020 (#1389) (aff5b62)
  • drop support for node v8 (#1997) (b6c3b7b)
  • typescript-estree: always return parserServices (#716) (5b23443)
  • typescript-estree: handle 3.9's non-null assertion changes (#2036) (06bec63)
Commits
  • 7e39f5b v3.0.0
  • 52b6085 feat(eslint-plugin): [prefer-nullish-coalescing][prefer-optional-chain] remov...
  • ae82ea4 fix(experimental-utils): add back SourceCode.isSpaceBetweenTokens
  • fe59f69 fix(eslint-plugin): correct parser peerDep version
  • f199cbd fix(typescript-estree): remove now defunct Import node type
  • 06869c9 feat(experimental-utils): upgrade eslint types for v7 (#2023)
  • 208de71 feat: upgrade to ESLint v7 (#2022)
  • 264b017 feat(eslint-plugin): [restrict-template-expressions] rename allowNullable t...
  • bfd9b60 feat(eslint-plugin): [no-unnecessary-condition] remove checkArrayPredicates...
  • 7fa9060 feat(eslint-plugin): [no-unnecessary-condition] report when non-nullish is co...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)