Skip to content

Commit

Permalink
Merge branch 'main' into member-ordering-natural-order
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Oct 13, 2022
2 parents ea0da9e + b2c4d0f commit 8503b5c
Show file tree
Hide file tree
Showing 211 changed files with 4,948 additions and 3,125 deletions.
12 changes: 12 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Security Policiy

The TypeScript ESLint team and community take all security vulnerabilities seriously.
If you have a vulnerability or other security issues to disclose:

- Thank you very much, please do!
- Please send them to us by emailing `typescripteslint@gmail.com`

We appreciate your efforts and responsible disclosure and will make every effort to acknowledge your contributions.

> We also adhere to the [Tidelift security process](https://support.tidelift.com/hc/en-us/articles/4406287910036-Security-process).
> See https://tidelift.com/security.
39 changes: 39 additions & 0 deletions .github/SPONSORSHIPS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Sponsorship

TypeScript ESLint is an entirely volunteer-run project.
We are not associated with any company or organization; our development is funded solely from community donations.

## Why Sponsor TypeScript ESLint?

Our tooling is used by the vast majority of TypeScript applications today, including nearly 10,000 dependent projects and 20 million weekly downloads on npm.
Our packages enable both ESLint and Prettier to run on TypeScript code.
We additionally provide a comprehensive suite of TypeScript-focused ESLint rules that, by enabling access to TypeScript's type checking APIs, can detect classifications of application bugs more advanced than ESLint alone can.
Sponsoring TypeScript ESLint helps keep our development process running reliably, which in turn directly allows us to:

- Support new versions of TypeScript sooner after their release
- Continue improving our documentation and first-run experiences
- Fix bugs and add new features to existing rules
- Write more advanced rules to solve more areas of application correctness

## Sponsorship Limitations

### Project Direction

TypeScript ESLint is always appreciative of organizations sponsoring the project.
However, we do not factor sponsorship amounts into issue prioritization or pull request reviews.
If you have a need to push forward an area of work in TypeScript ESLint more urgently than a general donation can provide, consider donating engineering time as well.

### Website Placement

Our top sponsors may have their link, logo, and/or name featured on the homepage of https://typescript-eslint.io.
We are inclusive by default and allow all organizations that newly meet a monetary threshold to be added.
However, at our discretion, we may remove organizations we feel we cannot promote in good conscience.
Organizations would most commonly be removed if their core charter and/or repeated organization-wide intentional activities:

- Deny fundamental human rights
- Repeatedly spread large-scale harmful misinformation online
- Finance and/or promote other organizations that match these issues

If you disagree with a choice made by the maintenance team, or would like a refund for your sponsorship, please let us know by emailing `typescripteslint@gmail.com`.

> You can always view all financial contributors on [opencollective.com/typescript-eslint](https://opencollective.com/typescript-eslint).
19 changes: 0 additions & 19 deletions .github/dependabot.yml

This file was deleted.

70 changes: 70 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
enabledManagers: ['github-actions', 'npm'],
ignoreDeps: [
// globby is ESM so we can't go any higher right now
'globby',
// this dep now uses package.json exports - we will be removing it next major
'eslint-scope',
// the nx packages get updated using the nx migrate CLI
'@nrwl/cli',
'@nrwl/devkit',
'@nrwl/jest',
'@nrwl/nx-cloud',
'@nrwl/tao',
],
ignorePaths: [
// integration test package.json's should never be updated as they're purposely fixed tests
'tests/integration/fixtures',
],
internalChecksFilter: 'strict',
labels: ['dependencies'],
packageRules: [
// automerge everything but major updates
{
matchUpdateTypes: ['minor', 'patch', 'pin', 'digest'],
automerge: true,
automergeStrategy: 'squash',
},

// label PRs appropriately
{
matchManagers: ['npm'],
addLabels: ['javascript'],
},
{
matchManagers: ['github-actions'],
addLabels: ['github-actions'],
},

// batch package sets together
{
extends: ['packages:react'],
groupName: 'react',
},
{
extends: ['monorepo:docusaurus'],
groupName: 'docusaurus',
},
{
extends: ['monorepo:babel'],
matchPackagePrefixes: ['@types/babel'],
groupName: 'babel',
},
{
extends: ['monorepo:jest'],
matchPackageNames: ['ts-jest', 'pretty-format'],
matchPackagePrefixes: ['@types/jest'],
groupName: 'jest',
},
{
matchPackageNames: ['cypress', 'cypress-axe'],
matchUpdateTypes: ['minor', 'patch', 'pin', 'digest'],
groupName: 'cypress',
},
],
postUpdateOptions: [
// run yarn dedupe to cleanup the lockfile after updates
'yarnDedupeHighest',
],
stabilityDays: 3,
}
3 changes: 0 additions & 3 deletions .github/replies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ replies:
If you need it sooner, please try the `canary` tag on NPM.
name: Fix Has Been Merged
- body: |
name:
- body: |
With any issue opened in this project — it either has visible progress in the form of an attached PR, or it has no progress.\
\
We are a community-run project. The volunteer maintainers spend most of their time triaging issues and reviewing PRs. This means that most issues will not progress unless a member of the community steps up and champions it.\
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"tlent.jest-snapshot-language-support"
"tlent.jest-snapshot-language-support",
"mrmlnc.vscode-json5"
],
"unwantedRecommendations": ["hookyqr.beautify", "dbaeumer.jshint"]
}
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.40.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.39.0...v5.40.0) (2022-10-10)


### Bug Fixes

* **eslint-plugin:** [consistent-indexed-object-style] handle interface generic ([#5746](https://github.com/typescript-eslint/typescript-eslint/issues/5746)) ([7a8a0a3](https://github.com/typescript-eslint/typescript-eslint/commit/7a8a0a3c500ca726d2ab3bee0ae9f3fb9d8d39b8))
* **eslint-plugin:** [no-unnecessary-condition] handle void ([#5766](https://github.com/typescript-eslint/typescript-eslint/issues/5766)) ([ac8f06b](https://github.com/typescript-eslint/typescript-eslint/commit/ac8f06b68dca7666bfb78fb38d6ccc07f676e435))


### Features

* **eslint-plugin:** Check 'rest' parameters in no-misused-promises ([#5731](https://github.com/typescript-eslint/typescript-eslint/issues/5731)) ([6477f38](https://github.com/typescript-eslint/typescript-eslint/commit/6477f3855627cc257edc021b859711d4a5847a12)), closes [#4015](https://github.com/typescript-eslint/typescript-eslint/issues/4015)
* **utils:** add dependency constraint filtering for `RuleTester` ([#5750](https://github.com/typescript-eslint/typescript-eslint/issues/5750)) ([121f4c0](https://github.com/typescript-eslint/typescript-eslint/commit/121f4c0e7252def95d917e4734e933e53e29d501))
* **website:** store options TypeScript, Enable jsx and AST Viewer in browser's local storage ([#5769](https://github.com/typescript-eslint/typescript-eslint/issues/5769)) ([77d2336](https://github.com/typescript-eslint/typescript-eslint/commit/77d2336594ca10b47c0f7978ae64f87d24a25d33))





# [5.39.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.38.1...v5.39.0) (2022-10-03)


### Features

* **eslint-plugin:** allow using void as a default type for a generic argument if allowInGenericTypeArguments is specified ([#5671](https://github.com/typescript-eslint/typescript-eslint/issues/5671)) ([bb46ef0](https://github.com/typescript-eslint/typescript-eslint/commit/bb46ef0817fe03ef71f8e0f3df0cf96bc355e068))





## [5.38.1](https://github.com/typescript-eslint/typescript-eslint/compare/v5.38.0...v5.38.1) (2022-09-26)

**Note:** Version bump only for package @typescript-eslint/typescript-eslint
Expand Down

0 comments on commit 8503b5c

Please sign in to comment.