Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @typescript-eslint/parser from 1.13.0 to 2.0.0 #152

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Aug 14, 2019

Bumps @typescript-eslint/parser from 1.13.0 to 2.0.0.

Release notes

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

v2.0.0

2.0.0 (2019-08-13)

BREAKING CHANGES

  • Node 6 is no longer supported.
  • parser / typescript-estree:
    • When project is specified within parserOptions, we will now hard fail when parsing files that are not included within the provided tsconfig(s).
    • We discovered that this was a common performance pitfall, and could increase lint times by huge amounts.
    • To handle this, there are a few possible solutions:
      1. Improve the includes field within your tsconfig(s) so that all the files you want to lint are included.
      2. Create a new tsconfig.eslint.json which you pass into parserOptions.project, which includes all of the files you want to lint, e.g.:
        {
          // extend your base config so you don't have to redefine your compilerOptions
          "extends": "./tsconfig.json",
          "include": [
            "src/**/*.ts",
            "test/**/*.ts",
            "typings/**/*.ts",
            // etc
          ]
        }
  • eslint-plugin:
    • Removed hardcoded checks which prevented some rules from running on non-TypeScript files (i.e. files that are not *.ts/*.tsx).
      • Some users with mixed TS/JS codebases may now see some TypeScript-specific rules being reported against JS files.
      • Please use ESLint's "overrides" config to select which files to apply rules to.
    • Removed deprecated rule prefer-interface. This rule was replaced by consistent-type-definitions.
    • Removed deprecated rule no-triple-slash-reference. This rule was replaced by triple-slash-reference
    • Merged both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule - consistent-type-assertions.
    • explicit-function-return-type no longer treats export default () => {} as an expression for the purposes of the allowExpressions option.
    • Changed a number of the default rule configs:
      • explicit-function-return-type - allowTypedFunctionExpressions and allowHigherOrderFunctions are now both true by default.
      • no-inferrable-types - ignoreParameters and ignoreProperties are now both false by default.
      • no-this-alias - allowDestructuring is now true by default.
    • Reworked the recommended configs:
      • plugin:@typescript-eslint/recommended
        • This is our slim, recommended set of rules. This config does not require type information, so it can be easily dropped into an existing config.
      • plugin:@typescript-eslint/recommended-requiring-type-checking
        • This is a slightly expanded set of rules, intended to be used in conjunction with plugin:@typescript-eslint/recommended. These rules specifically require type information. We separated these rules into a separate config to ease adoption and to make the base recommended "fast-by-default".
      • plugin:@typescript-eslint/eslint-recommended
        • This config is a compatibility config that disables rules from eslint:recommended which are already handled by TypeScript.
      • plugin:@typescript-eslint/all
        • This config simply turns on every single rule available in the plugin.
      • The intention is that you can use all the configs together, as they build upon one-another:
        {
          "extends": [
... (truncated)
Changelog

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

2.0.0 (2019-08-13)

  • feat(eslint-plugin)!: change recommended config (#729) (428567d), closes #729
  • feat(typescript-estree)!: throw error on file not in project when project set (#760) (3777b77), closes #760

Bug Fixes

  • typescript-estree: fix is token typed as `Keyword (#750) (35dec52)
  • typescript-estree: jsx comment parsing (#703) (0cfc48e)

Features

BREAKING CHANGES

  • recommended config changes are considered breaking
  • by default we will now throw when a file is not in the project provided
  • Node 6 is no longer supported
Commits
  • 05ba268 chore: publish v2.0.0
  • 0cfc48e fix(typescript-estree): jsx comment parsing (#703)
  • 428567d feat(eslint-plugin)!: change recommended config (#729)
  • 42b3013 chore: misc package.json updates related to v2 (#832)
  • 3777b77 feat(typescript-estree)!: throw error on file not in project when project s...
  • 4496288 chore: tighter linting (#535)
  • 35dec52 fix(typescript-estree): fix is token typed as `Keyword (#750)
  • 34a7cf6 feat: explicitly support eslint v6 (#645)
  • See full diff 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 will merge this PR once CI passes on it, as requested by @yamadayuki.


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:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Aug 14, 2019
yamadayuki and others added 3 commits August 16, 2019 09:36
… into dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-2.0.0
Bump @typescript-eslint/eslint-plugin from 1.13.0 to 2.0.0

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Yuki Yamada <yamadayuuki0818@gmail.com>
Copy link
Collaborator

@yamadayuki yamadayuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot-preview dependabot-preview bot merged commit 4a1e948 into master Aug 16, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/typescript-eslint/parser-2.0.0 branch August 16, 2019 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant