Release notes
*Sourced from [@typescript-eslint/eslint-plugin's releases](https://github.com/typescript-eslint/typescript-eslint/releases).*
> ## v2.0.0
> # [2.0.0](https://github.com/typescript-eslint/typescript-eslint/compare/v1.13.0...v2.0.0) (2019-08-13)
>
> ### BREAKING CHANGES
>
> * Node 6 is no longer supported.
> * [Node 6 is now end of life](https://github.com/nodejs/nodejs.org/blob/89011ed5332576072269c4f52802140e113c01f5/source/schedule.json#L22-L28). With the release of ESLint v6, they have dropped support for Node 6. As such, we have also dropped Node 6 from our testing pipeline. Please consider upgrading to a supported version of Node. See [this page for more information about node version lifecycle and dates](https://nodejs.org/en/about/releases/).
> * **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.:
> ```jsonc
> {
> // extend your base config so you don't have to redefine your compilerOptions
> "extends": "./tsconfig.json",
> "include": [
> "src/**/*.ts",
> "test/**/*.ts",
> "typings/**/*.ts"
> // etc
> ],
> // IF (and only if) you have a mixed JS/TS codebase - you should also turn on JS support
> "compilerOptions": {
> "allowJs": true,
> "checkJs": true
> }
> }
> ```
> If you are using non standard file extensions (i.e. `.vue` files), you should add the following config to your `.eslintrc` file:
> ```jsonc
> {
> "parserOptions": {
> "extraFileExtensions": [".vue"]
> }
> }
> ```
> * **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](https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns) to select which files to apply rules to.
> * Removed deprecated rule `prefer-interface`. This rule was replaced by [`consistent-type-definitions`](https://github.com/typescript-eslint/typescript-eslint/blob/v2.0.0/packages/eslint-plugin/docs/rules/consistent-type-definitions.md).
> * Removed deprecated rule `no-triple-slash-reference`. This rule was replaced by [`triple-slash-reference`](https://github.com/typescript-eslint/typescript-eslint/blob/v2.0.0/packages/eslint-plugin/docs/rules/triple-slash-reference.md)
> * Merged both `no-angle-bracket-type-assertion` and `no-object-literal-type-assertion` into one rule - [`consistent-type-assertions`](https://github.com/typescript-eslint/typescript-eslint/blob/v2.0.0/packages/eslint-plugin/docs/rules/consistent-type-assertions.md).
> * `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.
> ... (truncated)
Changelog
*Sourced from [@typescript-eslint/eslint-plugin's changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md).*
> # [2.0.0](https://github.com/typescript-eslint/typescript-eslint/compare/v1.13.0...v2.0.0) (2019-08-13)
>
>
> ### Bug Fixes
>
> * **eslint-plugin:** [efrt] flag default export w/allowExpressions ([#831](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/831)) ([ebbcc01](https://github.com/typescript-eslint/typescript-eslint/commit/ebbcc01))
> * **eslint-plugin:** [no-explicit-any] Fix ignoreRestArgs for interfaces ([#777](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/777)) ([22e9ae5](https://github.com/typescript-eslint/typescript-eslint/commit/22e9ae5))
> * **eslint-plugin:** [no-useless-constructor] handle bodyless constructor ([#685](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/685)) ([55e788c](https://github.com/typescript-eslint/typescript-eslint/commit/55e788c))
> * **eslint-plugin:** [prefer-readonly] TypeError when having comp… ([#761](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/761)) ([211b1b5](https://github.com/typescript-eslint/typescript-eslint/commit/211b1b5))
> * **eslint-plugin:** [typedef] support "for..in", "for..of" ([#787](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/787)) ([39e41b5](https://github.com/typescript-eslint/typescript-eslint/commit/39e41b5))
> * **eslint-plugin:** [typedef] support default value for parameter ([#785](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/785)) ([84916e6](https://github.com/typescript-eslint/typescript-eslint/commit/84916e6))
>
>
> * feat(eslint-plugin)!: recommended-requiring-type-checking config ([#846](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/846)) ([d3470c9](https://github.com/typescript-eslint/typescript-eslint/commit/d3470c9)), closes [#846](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/846)
> * feat(eslint-plugin)!: change recommended config ([#729](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/729)) ([428567d](https://github.com/typescript-eslint/typescript-eslint/commit/428567d)), closes [#729](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/729)
> * feat(typescript-estree)!: throw error on file not in project when `project` set ([#760](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/760)) ([3777b77](https://github.com/typescript-eslint/typescript-eslint/commit/3777b77)), closes [#760](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/760)
> * feat(eslint-plugin)!: add rule `consistent-type-assertions` ([#731](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/731)) ([92e98de](https://github.com/typescript-eslint/typescript-eslint/commit/92e98de)), closes [#731](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/731)
> * feat(eslint-plugin)!: [array-type] rework options ([#654](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/654)) ([1389393](https://github.com/typescript-eslint/typescript-eslint/commit/1389393)), closes [#654](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/654) [#635](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/635)
>
>
> ### Features
>
> * explicitly support eslint v6 ([#645](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/645)) ([34a7cf6](https://github.com/typescript-eslint/typescript-eslint/commit/34a7cf6))
> * **eslint-plugin:** [interface-name-prefix, class-name-casing] Add allowUnderscorePrefix option to support private declarations ([#790](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/790)) ([0c4f474](https://github.com/typescript-eslint/typescript-eslint/commit/0c4f474))
> * **eslint-plugin:** [no-var-requires] report on foo(require('')) ([#725](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/725)) ([b2ca20d](https://github.com/typescript-eslint/typescript-eslint/commit/b2ca20d)), closes [#665](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/665)
> * **eslint-plugin:** [promise-function-async] make allowAny default true ([#733](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/733)) ([590ca50](https://github.com/typescript-eslint/typescript-eslint/commit/590ca50))
> * **eslint-plugin:** [strict-boolean-expressions] add ignoreRhs option ([#691](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/691)) ([fd6be42](https://github.com/typescript-eslint/typescript-eslint/commit/fd6be42))
> * **eslint-plugin:** add support for object props in CallExpressions ([#728](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/728)) ([8141f01](https://github.com/typescript-eslint/typescript-eslint/commit/8141f01))
> * **eslint-plugin:** added new rule typedef ([#581](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/581)) ([35cc99b](https://github.com/typescript-eslint/typescript-eslint/commit/35cc99b))
> * **eslint-plugin:** added new rule use-default-type-parameter ([#562](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/562)) ([2b942ba](https://github.com/typescript-eslint/typescript-eslint/commit/2b942ba))
> * **eslint-plugin:** move opinionated rules between configs ([#595](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/595)) ([4893aec](https://github.com/typescript-eslint/typescript-eslint/commit/4893aec))
> * **eslint-plugin:** remove deprecated rules ([#739](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/739)) ([e32c7ad](https://github.com/typescript-eslint/typescript-eslint/commit/e32c7ad))
>
>
> ### BREAKING CHANGES
>
> * removed some rules from recommended config
> * recommended config changes are considered breaking
> * by default we will now throw when a file is not in the `project` provided
> * Merges both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule
> * **eslint-plugin:** both 'eslint-recommended' and 'recommended' have changed.
> * **eslint-plugin:** removing rules
> * changes config structure
>
> ```ts
> type ArrayOption = 'array' | 'generic' | 'array-simple';
> type Options = [
> {
> // default case for all arrays
> default: ArrayOption,
> ... (truncated)
Commits
- [`05ba268`](https://github.com/typescript-eslint/typescript-eslint/commit/05ba26879dd5a5a0e1159951c8b24dc5e0e5cc4a) chore: publish v2.0.0
- [`0c4f474`](https://github.com/typescript-eslint/typescript-eslint/commit/0c4f474ccba2fd329cb43ae2309e786b51889a81) feat(eslint-plugin): [interface-name-prefix, class-name-casing] Add allowUnde...
- [`d3470c9`](https://github.com/typescript-eslint/typescript-eslint/commit/d3470c963eb436d9e5128301d4579fb2b251de7c) feat(eslint-plugin)!: recommended-requiring-type-checking config ([#846](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/846))
- [`90b36dd`](https://github.com/typescript-eslint/typescript-eslint/commit/90b36ddac2f6de006fd59f2a9234df1eb2d1606e) docs(eslint-plugin): update ROADMAP.md ([#844](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/844))
- [`428567d`](https://github.com/typescript-eslint/typescript-eslint/commit/428567d7cc0985b1da754f092289212df3fe1bda) feat(eslint-plugin)!: change recommended config ([#729](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/729))
- [`de6cc1d`](https://github.com/typescript-eslint/typescript-eslint/commit/de6cc1d51a7b908ab2a731c5ce3c1d537062645f) docs(eslint-plugin): [no-useless-constructor] add example setup ([#837](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/837))
- [`ebbcc01`](https://github.com/typescript-eslint/typescript-eslint/commit/ebbcc010c546b5777c14f0b33ead851b620184e0) fix(eslint-plugin): [efrt] flag default export w/allowExpressions ([#831](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/831))
- [`42b3013`](https://github.com/typescript-eslint/typescript-eslint/commit/42b3013ab846669fd730628f5cb0b043cfedabba) chore: misc package.json updates related to v2 ([#832](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/832))
- [`39e41b5`](https://github.com/typescript-eslint/typescript-eslint/commit/39e41b56ca26047cc1a1fdf7330e0bee928dc720) fix(eslint-plugin): [typedef] support "for..in", "for..of" ([#787](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/787))
- [`84916e6`](https://github.com/typescript-eslint/typescript-eslint/commit/84916e6713d05ffccc208149b623c86004098435) fix(eslint-plugin): [typedef] support default value for parameter ([#785](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/785))
- Additional commits viewable in [compare view](https://github.com/typescript-eslint/typescript-eslint/commits/v2.0.0/packages/eslint-plugin)
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)
- 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.
Updates the requirements on @typescript-eslint/eslint-plugin to permit the latest version.
Release notes
*Sourced from [@typescript-eslint/eslint-plugin's releases](https://github.com/typescript-eslint/typescript-eslint/releases).* > ## v2.0.0 > # [2.0.0](https://github.com/typescript-eslint/typescript-eslint/compare/v1.13.0...v2.0.0) (2019-08-13) > > ### BREAKING CHANGES > > * Node 6 is no longer supported. > * [Node 6 is now end of life](https://github.com/nodejs/nodejs.org/blob/89011ed5332576072269c4f52802140e113c01f5/source/schedule.json#L22-L28). With the release of ESLint v6, they have dropped support for Node 6. As such, we have also dropped Node 6 from our testing pipeline. Please consider upgrading to a supported version of Node. See [this page for more information about node version lifecycle and dates](https://nodejs.org/en/about/releases/). > * **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.: > ```jsonc > { > // extend your base config so you don't have to redefine your compilerOptions > "extends": "./tsconfig.json", > "include": [ > "src/**/*.ts", > "test/**/*.ts", > "typings/**/*.ts" > // etc > ], > // IF (and only if) you have a mixed JS/TS codebase - you should also turn on JS support > "compilerOptions": { > "allowJs": true, > "checkJs": true > } > } > ``` > If you are using non standard file extensions (i.e. `.vue` files), you should add the following config to your `.eslintrc` file: > ```jsonc > { > "parserOptions": { > "extraFileExtensions": [".vue"] > } > } > ``` > * **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](https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns) to select which files to apply rules to. > * Removed deprecated rule `prefer-interface`. This rule was replaced by [`consistent-type-definitions`](https://github.com/typescript-eslint/typescript-eslint/blob/v2.0.0/packages/eslint-plugin/docs/rules/consistent-type-definitions.md). > * Removed deprecated rule `no-triple-slash-reference`. This rule was replaced by [`triple-slash-reference`](https://github.com/typescript-eslint/typescript-eslint/blob/v2.0.0/packages/eslint-plugin/docs/rules/triple-slash-reference.md) > * Merged both `no-angle-bracket-type-assertion` and `no-object-literal-type-assertion` into one rule - [`consistent-type-assertions`](https://github.com/typescript-eslint/typescript-eslint/blob/v2.0.0/packages/eslint-plugin/docs/rules/consistent-type-assertions.md). > * `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. > ... (truncated)Changelog
*Sourced from [@typescript-eslint/eslint-plugin's changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md).* > # [2.0.0](https://github.com/typescript-eslint/typescript-eslint/compare/v1.13.0...v2.0.0) (2019-08-13) > > > ### Bug Fixes > > * **eslint-plugin:** [efrt] flag default export w/allowExpressions ([#831](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/831)) ([ebbcc01](https://github.com/typescript-eslint/typescript-eslint/commit/ebbcc01)) > * **eslint-plugin:** [no-explicit-any] Fix ignoreRestArgs for interfaces ([#777](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/777)) ([22e9ae5](https://github.com/typescript-eslint/typescript-eslint/commit/22e9ae5)) > * **eslint-plugin:** [no-useless-constructor] handle bodyless constructor ([#685](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/685)) ([55e788c](https://github.com/typescript-eslint/typescript-eslint/commit/55e788c)) > * **eslint-plugin:** [prefer-readonly] TypeError when having comp… ([#761](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/761)) ([211b1b5](https://github.com/typescript-eslint/typescript-eslint/commit/211b1b5)) > * **eslint-plugin:** [typedef] support "for..in", "for..of" ([#787](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/787)) ([39e41b5](https://github.com/typescript-eslint/typescript-eslint/commit/39e41b5)) > * **eslint-plugin:** [typedef] support default value for parameter ([#785](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/785)) ([84916e6](https://github.com/typescript-eslint/typescript-eslint/commit/84916e6)) > > > * feat(eslint-plugin)!: recommended-requiring-type-checking config ([#846](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/846)) ([d3470c9](https://github.com/typescript-eslint/typescript-eslint/commit/d3470c9)), closes [#846](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/846) > * feat(eslint-plugin)!: change recommended config ([#729](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/729)) ([428567d](https://github.com/typescript-eslint/typescript-eslint/commit/428567d)), closes [#729](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/729) > * feat(typescript-estree)!: throw error on file not in project when `project` set ([#760](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/760)) ([3777b77](https://github.com/typescript-eslint/typescript-eslint/commit/3777b77)), closes [#760](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/760) > * feat(eslint-plugin)!: add rule `consistent-type-assertions` ([#731](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/731)) ([92e98de](https://github.com/typescript-eslint/typescript-eslint/commit/92e98de)), closes [#731](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/731) > * feat(eslint-plugin)!: [array-type] rework options ([#654](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/654)) ([1389393](https://github.com/typescript-eslint/typescript-eslint/commit/1389393)), closes [#654](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/654) [#635](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/635) > > > ### Features > > * explicitly support eslint v6 ([#645](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/645)) ([34a7cf6](https://github.com/typescript-eslint/typescript-eslint/commit/34a7cf6)) > * **eslint-plugin:** [interface-name-prefix, class-name-casing] Add allowUnderscorePrefix option to support private declarations ([#790](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/790)) ([0c4f474](https://github.com/typescript-eslint/typescript-eslint/commit/0c4f474)) > * **eslint-plugin:** [no-var-requires] report on foo(require('')) ([#725](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/725)) ([b2ca20d](https://github.com/typescript-eslint/typescript-eslint/commit/b2ca20d)), closes [#665](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/665) > * **eslint-plugin:** [promise-function-async] make allowAny default true ([#733](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/733)) ([590ca50](https://github.com/typescript-eslint/typescript-eslint/commit/590ca50)) > * **eslint-plugin:** [strict-boolean-expressions] add ignoreRhs option ([#691](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/691)) ([fd6be42](https://github.com/typescript-eslint/typescript-eslint/commit/fd6be42)) > * **eslint-plugin:** add support for object props in CallExpressions ([#728](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/728)) ([8141f01](https://github.com/typescript-eslint/typescript-eslint/commit/8141f01)) > * **eslint-plugin:** added new rule typedef ([#581](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/581)) ([35cc99b](https://github.com/typescript-eslint/typescript-eslint/commit/35cc99b)) > * **eslint-plugin:** added new rule use-default-type-parameter ([#562](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/562)) ([2b942ba](https://github.com/typescript-eslint/typescript-eslint/commit/2b942ba)) > * **eslint-plugin:** move opinionated rules between configs ([#595](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/595)) ([4893aec](https://github.com/typescript-eslint/typescript-eslint/commit/4893aec)) > * **eslint-plugin:** remove deprecated rules ([#739](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/739)) ([e32c7ad](https://github.com/typescript-eslint/typescript-eslint/commit/e32c7ad)) > > > ### BREAKING CHANGES > > * removed some rules from recommended config > * recommended config changes are considered breaking > * by default we will now throw when a file is not in the `project` provided > * Merges both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule > * **eslint-plugin:** both 'eslint-recommended' and 'recommended' have changed. > * **eslint-plugin:** removing rules > * changes config structure > > ```ts > type ArrayOption = 'array' | 'generic' | 'array-simple'; > type Options = [ > { > // default case for all arrays > default: ArrayOption, > ... (truncated)Commits
- [`05ba268`](https://github.com/typescript-eslint/typescript-eslint/commit/05ba26879dd5a5a0e1159951c8b24dc5e0e5cc4a) chore: publish v2.0.0 - [`0c4f474`](https://github.com/typescript-eslint/typescript-eslint/commit/0c4f474ccba2fd329cb43ae2309e786b51889a81) feat(eslint-plugin): [interface-name-prefix, class-name-casing] Add allowUnde... - [`d3470c9`](https://github.com/typescript-eslint/typescript-eslint/commit/d3470c963eb436d9e5128301d4579fb2b251de7c) feat(eslint-plugin)!: recommended-requiring-type-checking config ([#846](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/846)) - [`90b36dd`](https://github.com/typescript-eslint/typescript-eslint/commit/90b36ddac2f6de006fd59f2a9234df1eb2d1606e) docs(eslint-plugin): update ROADMAP.md ([#844](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/844)) - [`428567d`](https://github.com/typescript-eslint/typescript-eslint/commit/428567d7cc0985b1da754f092289212df3fe1bda) feat(eslint-plugin)!: change recommended config ([#729](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/729)) - [`de6cc1d`](https://github.com/typescript-eslint/typescript-eslint/commit/de6cc1d51a7b908ab2a731c5ce3c1d537062645f) docs(eslint-plugin): [no-useless-constructor] add example setup ([#837](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/837)) - [`ebbcc01`](https://github.com/typescript-eslint/typescript-eslint/commit/ebbcc010c546b5777c14f0b33ead851b620184e0) fix(eslint-plugin): [efrt] flag default export w/allowExpressions ([#831](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/831)) - [`42b3013`](https://github.com/typescript-eslint/typescript-eslint/commit/42b3013ab846669fd730628f5cb0b043cfedabba) chore: misc package.json updates related to v2 ([#832](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/832)) - [`39e41b5`](https://github.com/typescript-eslint/typescript-eslint/commit/39e41b56ca26047cc1a1fdf7330e0bee928dc720) fix(eslint-plugin): [typedef] support "for..in", "for..of" ([#787](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/787)) - [`84916e6`](https://github.com/typescript-eslint/typescript-eslint/commit/84916e6713d05ffccc208149b623c86004098435) fix(eslint-plugin): [typedef] support default value for parameter ([#785](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/785)) - Additional commits viewable in [compare view](https://github.com/typescript-eslint/typescript-eslint/commits/v2.0.0/packages/eslint-plugin)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) - 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.