-
Notifications
You must be signed in to change notification settings - Fork 57
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
allow .server.*
file extension
#343
Conversation
I am thinking I want to generalize this PR to generically allow |
.server.[ext]
file extension.prefix.ext
file extension
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*.spec.ts
and *.test.tsx
are also good examples where this will help. I think this is a good change, thanks @theinterned!
This change updates the recommended eslint config to match the `.server.[ext]` file extension introduced in github/github#247398 ... although the actual extension is under discussion and may change.
33f4e5f
to
b7029db
Compare
.prefix.ext
file extension.server.*
file extension
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-github](https://togithub.com/github/eslint-plugin-github) | [`4.3.7` -> `4.6.0`](https://renovatebot.com/diffs/npm/eslint-plugin-github/4.3.7/4.6.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-github/4.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-github/4.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-github/4.6.0/compatibility-slim/4.3.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-github/4.6.0/confidence-slim/4.3.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>github/eslint-plugin-github</summary> ### [`v4.6.0`](https://togithub.com/github/eslint-plugin-github/releases/tag/v4.6.0) [Compare Source](https://togithub.com/github/eslint-plugin-github/compare/v4.5.0...v4.6.0) #### What's Changed - Allow wildcard `*.*.*` prefix extension by [@​theinterned](https://togithub.com/theinterned) in [https://github.com/github/eslint-plugin-github/pull/357](https://togithub.com/github/eslint-plugin-github/pull/357) **Full Changelog**: github/eslint-plugin-github@v4.5.0...v4.6.0 ### [`v4.5.0`](https://togithub.com/github/eslint-plugin-github/releases/tag/v4.5.0) [Compare Source](https://togithub.com/github/eslint-plugin-github/compare/v4.4.1...v4.5.0) #### What's Changed - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.41.0 to 5.42.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/337](https://togithub.com/github/eslint-plugin-github/pull/337) - chore(deps-dev): bump eslint from 8.26.0 to 8.27.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/339](https://togithub.com/github/eslint-plugin-github/pull/339) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.41.0 to 5.42.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/338](https://togithub.com/github/eslint-plugin-github/pull/338) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.42.0 to 5.42.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/342](https://togithub.com/github/eslint-plugin-github/pull/342) - chore(deps-dev): bump chai from 4.3.6 to 4.3.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/341](https://togithub.com/github/eslint-plugin-github/pull/341) - bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.42.0 to 5.42.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/340](https://togithub.com/github/eslint-plugin-github/pull/340) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.42.1 to 5.44.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/348](https://togithub.com/github/eslint-plugin-github/pull/348) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.42.1 to 5.44.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/349](https://togithub.com/github/eslint-plugin-github/pull/349) - chore(deps): bump prettier from 2.7.1 to 2.8.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/347](https://togithub.com/github/eslint-plugin-github/pull/347) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.44.0 to 5.45.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/353](https://togithub.com/github/eslint-plugin-github/pull/353) - chore(deps-dev): bump eslint from 8.27.0 to 8.29.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/351](https://togithub.com/github/eslint-plugin-github/pull/351) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.44.0 to 5.45.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/350](https://togithub.com/github/eslint-plugin-github/pull/350) - allow `.server.*` file extension by [@​theinterned](https://togithub.com/theinterned) in [https://github.com/github/eslint-plugin-github/pull/343](https://togithub.com/github/eslint-plugin-github/pull/343) #### New Contributors - [@​theinterned](https://togithub.com/theinterned) made their first contribution in [https://github.com/github/eslint-plugin-github/pull/343](https://togithub.com/github/eslint-plugin-github/pull/343) **Full Changelog**: github/eslint-plugin-github@v4.4.1...v4.5.0 ### [`v4.4.1`](https://togithub.com/github/eslint-plugin-github/releases/tag/v4.4.1) [Compare Source](https://togithub.com/github/eslint-plugin-github/compare/v4.4.0...v4.4.1) #### What's Changed - Use eslint-plugin-escompat in typescript config by [@​bdragon](https://togithub.com/bdragon) in [https://github.com/github/eslint-plugin-github/pull/326](https://togithub.com/github/eslint-plugin-github/pull/326) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.39.0 to 5.40.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/327](https://togithub.com/github/eslint-plugin-github/pull/327) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.39.0 to 5.40.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/329](https://togithub.com/github/eslint-plugin-github/pull/329) - chore(deps-dev): bump mocha from 10.0.0 to 10.1.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/328](https://togithub.com/github/eslint-plugin-github/pull/328) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.40.0 to 5.40.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/334](https://togithub.com/github/eslint-plugin-github/pull/334) - chore(deps-dev): bump eslint from 8.25.0 to 8.26.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/333](https://togithub.com/github/eslint-plugin-github/pull/333) - chore(deps): bump eslint-plugin-no-only-tests from 3.0.0 to 3.1.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/332](https://togithub.com/github/eslint-plugin-github/pull/332) - chore(deps): bump eslint-plugin-escompat from 3.3.3 to 3.3.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/331](https://togithub.com/github/eslint-plugin-github/pull/331) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.40.0 to 5.40.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/330](https://togithub.com/github/eslint-plugin-github/pull/330) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.40.1 to 5.41.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/335](https://togithub.com/github/eslint-plugin-github/pull/335) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.40.1 to 5.41.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/336](https://togithub.com/github/eslint-plugin-github/pull/336) #### New Contributors - [@​bdragon](https://togithub.com/bdragon) made their first contribution in [https://github.com/github/eslint-plugin-github/pull/326](https://togithub.com/github/eslint-plugin-github/pull/326) **Full Changelog**: github/eslint-plugin-github@v4.4.0...v4.4.1 ### [`v4.4.0`](https://togithub.com/github/eslint-plugin-github/releases/tag/v4.4.0) [Compare Source](https://togithub.com/github/eslint-plugin-github/compare/v4.3.7...v4.4.0) #### What's Changed - chore(deps): bump eslint-plugin-no-only-tests from 2.6.0 to 3.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/286](https://togithub.com/github/eslint-plugin-github/pull/286) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.30.6 to 5.30.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/285](https://togithub.com/github/eslint-plugin-github/pull/285) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.30.6 to 5.30.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/287](https://togithub.com/github/eslint-plugin-github/pull/287) - chore(deps-dev): bump eslint-plugin-eslint-plugin from 5.0.0 to 5.0.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/288](https://togithub.com/github/eslint-plugin-github/pull/288) - chore(deps): bump eslint-plugin-jsx-a11y from 6.6.0 to 6.6.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/289](https://togithub.com/github/eslint-plugin-github/pull/289) - chore(deps): bump prettier from 2.6.2 to 2.7.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/264](https://togithub.com/github/eslint-plugin-github/pull/264) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.30.7 to 5.31.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/291](https://togithub.com/github/eslint-plugin-github/pull/291) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.30.7 to 5.31.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/290](https://togithub.com/github/eslint-plugin-github/pull/290) - chore(deps-dev): bump eslint from 8.20.0 to 8.21.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/292](https://togithub.com/github/eslint-plugin-github/pull/292) - chore(deps-dev): bump eslint-plugin-eslint-plugin from 5.0.1 to 5.0.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/293](https://togithub.com/github/eslint-plugin-github/pull/293) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.31.0 to 5.32.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/294](https://togithub.com/github/eslint-plugin-github/pull/294) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.31.0 to 5.32.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/295](https://togithub.com/github/eslint-plugin-github/pull/295) - chore(deps-dev): bump eslint-plugin-eslint-plugin from 5.0.2 to 5.0.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/296](https://togithub.com/github/eslint-plugin-github/pull/296) - chore(deps): bump jsx-ast-utils from 3.3.2 to 3.3.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/298](https://togithub.com/github/eslint-plugin-github/pull/298) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.32.0 to 5.33.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/299](https://togithub.com/github/eslint-plugin-github/pull/299) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.32.0 to 5.33.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/300](https://togithub.com/github/eslint-plugin-github/pull/300) - chore(deps-dev): bump eslint from 8.21.0 to 8.22.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/297](https://togithub.com/github/eslint-plugin-github/pull/297) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.33.0 to 5.33.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/301](https://togithub.com/github/eslint-plugin-github/pull/301) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.33.0 to 5.33.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/303](https://togithub.com/github/eslint-plugin-github/pull/303) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.33.1 to 5.35.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/306](https://togithub.com/github/eslint-plugin-github/pull/306) - chore(deps-dev): bump eslint from 8.22.0 to 8.23.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/305](https://togithub.com/github/eslint-plugin-github/pull/305) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.33.1 to 5.35.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/307](https://togithub.com/github/eslint-plugin-github/pull/307) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.35.1 to 5.36.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/308](https://togithub.com/github/eslint-plugin-github/pull/308) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.35.1 to 5.36.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/309](https://togithub.com/github/eslint-plugin-github/pull/309) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.36.1 to 5.36.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/310](https://togithub.com/github/eslint-plugin-github/pull/310) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.36.1 to 5.36.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/311](https://togithub.com/github/eslint-plugin-github/pull/311) - chore(deps-dev): bump eslint from 8.23.0 to 8.23.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/312](https://togithub.com/github/eslint-plugin-github/pull/312) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.36.2 to 5.37.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/313](https://togithub.com/github/eslint-plugin-github/pull/313) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.36.2 to 5.37.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/314](https://togithub.com/github/eslint-plugin-github/pull/314) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.37.0 to 5.38.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/317](https://togithub.com/github/eslint-plugin-github/pull/317) - chore(deps-dev): bump eslint from 8.23.1 to 8.24.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/316](https://togithub.com/github/eslint-plugin-github/pull/316) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.37.0 to 5.38.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/315](https://togithub.com/github/eslint-plugin-github/pull/315) - Update array-foreach.md by [@​rotelloj](https://togithub.com/rotelloj) in [https://github.com/github/eslint-plugin-github/pull/318](https://togithub.com/github/eslint-plugin-github/pull/318) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.38.0 to 5.38.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/319](https://togithub.com/github/eslint-plugin-github/pull/319) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.38.0 to 5.38.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/320](https://togithub.com/github/eslint-plugin-github/pull/320) - chore(deps): bump [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.38.1 to 5.39.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/321](https://togithub.com/github/eslint-plugin-github/pull/321) - chore(deps-dev): bump eslint from 8.24.0 to 8.25.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/322](https://togithub.com/github/eslint-plugin-github/pull/322) - chore(deps): bump [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.38.1 to 5.39.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/323](https://togithub.com/github/eslint-plugin-github/pull/323) - Update eslint plugin escompat by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/github/eslint-plugin-github/pull/325](https://togithub.com/github/eslint-plugin-github/pull/325) #### New Contributors - [@​rotelloj](https://togithub.com/rotelloj) made their first contribution in [https://github.com/github/eslint-plugin-github/pull/318](https://togithub.com/github/eslint-plugin-github/pull/318) **Full Changelog**: github/eslint-plugin-github@v4.3.7...v4.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "monthly" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/WtfJoke/setup-tectonic). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTkuNSIsInVwZGF0ZWRJblZlciI6IjM0LjExOS41In0=-->
This change updates the recommended eslint config to match the .server.[ext] file extension introduced in https://github.com/github/github/pull/247398 ... although the actual extension is under discussion and may change.
I considered just enabling any wild card prefix extension, but rolled that option back.