Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: un-ts/eslint-plugin-import-x
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.9.3
Choose a base ref
...
head repository: un-ts/eslint-plugin-import-x
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.9.4
Choose a head ref
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on Mar 29, 2025

  1. chore: bump unrs-resolver to v1.3.3 (#267)

    JounQin authored Mar 29, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e9e2300 View commit details
  2. chore: release eslint-plugin-import-x (#268)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Mar 29, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b3d848b View commit details
Showing with 163 additions and 85 deletions.
  1. +36 −0 .github/workflows/autofix.yml
  2. +10 −0 .github/workflows/release.yml
  3. +1 −1 .simple-git-hooks.mjs
  4. +6 −0 CHANGELOG.md
  5. +28 −3 README.md
  6. +5 −4 package.json
  7. +77 −77 yarn.lock
36 changes: 36 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: autofix.ci # For security reasons, the workflow in which the autofix.ci action is used must be named "autofix.ci".

on:
pull_request:
types:
- opened
- reopened
- synchronize

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn

- name: Install dependencies
run: yarn --immutable

- name: Format Codes
run: yarn format

- name: Apply autofix.ci
uses: autofix-ci/action@v1
with:
fail-fast: false
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -5,6 +5,15 @@ on:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write
id-token: write
pull-requests: write

jobs:
release:
name: Release
@@ -41,4 +50,5 @@ jobs:
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .simple-git-hooks.mjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "@1stg/simple-git-hooks";
export { default } from '@1stg/simple-git-hooks'
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# eslint-plugin-import-x

## 4.9.4

### Patch Changes

- [#267](https://github.com/un-ts/eslint-plugin-import-x/pull/267) [`e9e2300`](https://github.com/un-ts/eslint-plugin-import-x/commit/e9e23002c5d51b1bb4716c4ad793fb3f9133bc28) Thanks [@JounQin](https://github.com/JounQin)! - chore: bump `unrs-resolver` to v1.3.3

## 4.9.3

### Patch Changes
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -589,11 +589,36 @@ In Package Settings / SublimeLinter / User Settings:
I believe this defaults to `3`, so you may not need to alter it depending on your
project folder max depth.

[![Sponsors](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)

## Sponsors

| 1stG | RxTS | UnTS |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| [![1stG Open Collective sponsors](https://opencollective.com/1stG/organizations.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective sponsors](https://opencollective.com/rxts/organizations.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective sponsors](https://opencollective.com/unts/organizations.svg)](https://opencollective.com/unts) |

## Backers

| 1stG | RxTS | UnTS |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [![1stG Open Collective backers](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |

## Changelog

Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).

## License

[MIT][] © [JounQin][]@[1stG.me][]

[`@typescript-eslint/parser`]: https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser
[`eslint-import-resolver-typescript`]: https://github.com/import-js/eslint-import-resolver-typescript
[`eslint_d`]: https://www.npmjs.com/package/eslint_d
[`eslint-loader`]: https://www.npmjs.com/package/eslint-loader
[`resolve`]: https://www.npmjs.com/package/resolve
[`externals`]: https://webpack.github.io/docs/library-and-externals.html
[Node]: https://www.npmjs.com/package/eslint-import-resolver-node
[1stg.me]: https://www.1stg.me
[jounqin]: https://GitHub.com/JounQin
[mit]: http://opensource.org/licenses/MIT
[node]: https://www.npmjs.com/package/eslint-import-resolver-node
[webpack]: https://www.npmjs.com/package/eslint-import-resolver-webpack
[`eslint_d`]: https://www.npmjs.com/package/eslint_d
[`eslint-loader`]: https://www.npmjs.com/package/eslint-loader
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-import-x",
"version": "4.9.3",
"version": "4.9.4",
"type": "commonjs",
"description": "Import with sanity.",
"repository": "https://github.com/un-ts/eslint-plugin-import-x",
@@ -33,6 +33,7 @@
"scripts": {
"build": "tsc -p src",
"clean": "rimraf lib",
"format": "prettier --write .",
"lint": "run-p 'lint:*'",
"lint:docs": "yarn update:eslint-docs --check",
"lint:es": "eslint . --cache",
@@ -59,7 +60,7 @@
"semver": "^7.7.1",
"stable-hash": "^0.0.5",
"tslib": "^2.8.1",
"unrs-resolver": "^1.3.1"
"unrs-resolver": "^1.3.3"
},
"devDependencies": {
"@1stg/commitlint-config": "^5.0.2",
@@ -94,7 +95,7 @@
"@types/jest": "^29.5.14",
"@types/json-schema": "^7.0.15",
"@types/klaw-sync": "^6.0.5",
"@types/node": "^20.17.27",
"@types/node": "^20.17.28",
"@types/pnpapi": "^0.0.5",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
@@ -105,7 +106,7 @@
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"eslint-doc-generator": "^2.1.2",
"eslint-import-resolver-typescript": "^4.2.4",
"eslint-import-resolver-typescript": "^4.3.1",
"eslint-import-resolver-webpack": "^0.13.10",
"eslint-import-test-order-redirect": "link:./test/fixtures/order-redirect",
"eslint-plugin-eslint-plugin": "^6.4.0",
Loading