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: antfu/eslint-plugin-command
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.6
Choose a base ref
...
head repository: antfu/eslint-plugin-command
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 17 commits
  • 20 files changed
  • 4 contributors

Commits on Oct 24, 2024

  1. chore: typo (#30)

    mancuoj authored Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    b3486d8 View commit details
  2. chore: update deps

    antfu committed Oct 24, 2024
    Copy the full SHA
    2372ea8 View commit details

Commits on Nov 27, 2024

  1. chore: update deps

    antfu committed Nov 27, 2024
    Copy the full SHA
    10cb238 View commit details
  2. feat: new command no-x-above

    antfu committed Nov 27, 2024
    Copy the full SHA
    e0a7037 View commit details
  3. docs: update

    antfu committed Nov 27, 2024
    Copy the full SHA
    63029b9 View commit details

Commits on Dec 17, 2024

  1. chore: update deps

    antfu committed Dec 17, 2024
    Copy the full SHA
    fbc643b View commit details
  2. chore: release v0.2.7

    antfu committed Dec 17, 2024
    Copy the full SHA
    472ef55 View commit details

Commits on Jan 9, 2025

  1. chore: update deps

    antfu committed Jan 9, 2025
    Copy the full SHA
    3c7fa2e View commit details
  2. chore: release v2.0.7

    antfu committed Jan 9, 2025
    Copy the full SHA
    419052b View commit details
  3. feat: new command keep-aligned (#32)

    zojize authored Jan 9, 2025
    Copy the full SHA
    45a5e04 View commit details
  4. chore: update deps

    antfu committed Jan 9, 2025
    Copy the full SHA
    8b726e9 View commit details
  5. chore: release v2.1.0

    antfu committed Jan 9, 2025
    Copy the full SHA
    d416fe5 View commit details

Commits on Jan 25, 2025

  1. Copy the full SHA
    3fce0f0 View commit details
  2. chore: release v3.0.0

    antfu committed Jan 25, 2025
    Copy the full SHA
    4903d91 View commit details

Commits on Feb 15, 2025

  1. feat: new /// to-one-line command (#35)

    * docs: fix typo
    
    * feat: added to-one-line command
    onmax authored Feb 15, 2025
    Copy the full SHA
    e449cbf View commit details
  2. chore: update deps

    antfu committed Feb 15, 2025
    Copy the full SHA
    31c7465 View commit details
  3. chore: release v3.1.0

    antfu committed Feb 15, 2025
    Copy the full SHA
    f3a1065 View commit details
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ async function foo<T>(msg: T): void {
}
```

One more example that `/// to-promis-all` converts a sequence of `await` expressions to `await Promise.all()`:
One more example that `/// to-promise-all` converts a sequence of `await` expressions to `await Promise.all()`:

<!-- eslint-skip -->

5 changes: 1 addition & 4 deletions build.config.ts
Original file line number Diff line number Diff line change
@@ -7,11 +7,8 @@ export default defineBuildConfig({
'src/types',
'src/commands.ts',
],
declaration: true,
declaration: 'node16',
clean: true,
rollup: {
emitCJS: true,
},
externals: [
'@typescript-eslint/utils',
],
18 changes: 9 additions & 9 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -7,15 +7,15 @@
"docs:preview": "vitepress preview"
},
"devDependencies": {
"@iconify-json/ph": "^1.2.0",
"@iconify-json/svg-spinners": "^1.2.0",
"@unocss/reset": "^0.62.4",
"@vueuse/core": "^11.1.0",
"@iconify-json/ph": "^1.2.2",
"@iconify-json/svg-spinners": "^1.2.2",
"@unocss/reset": "^65.5.0",
"@vueuse/core": "^12.6.1",
"floating-vue": "^5.2.2",
"fuse.js": "^7.0.0",
"unocss": "^0.62.4",
"unplugin-vue-components": "^0.27.4",
"vitepress": "^1.3.4",
"vue": "^3.5.9"
"fuse.js": "^7.1.0",
"unocss": "^65.5.0",
"unplugin-vue-components": "^28.1.0",
"vitepress": "^1.6.3",
"vue": "^3.5.13"
}
}
93 changes: 30 additions & 63 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "eslint-plugin-command",
"type": "module",
"version": "0.2.6",
"packageManager": "pnpm@9.11.0",
"version": "3.1.0",
"packageManager": "pnpm@10.4.0",
"description": "Comment-as-command for one-off codemod with ESLint",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
@@ -19,47 +19,14 @@
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./config": {
"types": "./dist/config.d.ts",
"import": "./dist/config.mjs",
"require": "./dist/config.cjs"
},
"./commands": {
"types": "./dist/commands.d.ts",
"import": "./dist/commands.mjs",
"require": "./dist/commands.cjs"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.mjs",
"require": "./dist/types.cjs"
}
".": "./dist/index.mjs",
"./config": "./dist/config.mjs",
"./commands": "./dist/commands.mjs",
"./types": "./dist/types.mjs"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts",
"./dist/*"
],
"./config": [
"./dist/config.d.ts"
],
"./commands": [
"./dist/commands.d.ts"
],
"./types": [
"./dist/types.d.ts"
]
}
},
"types": "./dist/index.d.mts",
"files": [
"dist"
],
@@ -80,37 +47,37 @@
"eslint": "*"
},
"dependencies": {
"@es-joy/jsdoccomment": "^0.48.0"
"@es-joy/jsdoccomment": "^0.50.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.7.2",
"@antfu/ni": "^0.23.0",
"@antfu/utils": "^0.7.10",
"@eslint/config-inspector": "^0.5.4",
"@antfu/eslint-config": "^4.2.0",
"@antfu/ni": "^23.3.1",
"@antfu/utils": "^9.0.0",
"@eslint/config-inspector": "^1.0.0",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^22.7.2",
"@types/node": "^22.13.4",
"@types/semver": "^7.5.8",
"@typescript-eslint/rule-tester": "^8.7.0",
"@typescript-eslint/typescript-estree": "^8.7.0",
"@typescript-eslint/utils": "^8.7.0",
"@vitest/ui": "^2.1.1",
"bumpp": "^9.5.2",
"eslint": "^9.11.1",
"@typescript-eslint/rule-tester": "^8.24.0",
"@typescript-eslint/typescript-estree": "^8.24.0",
"@typescript-eslint/utils": "^8.24.0",
"@vitest/ui": "^3.0.5",
"bumpp": "^10.0.3",
"eslint": "^9.20.1",
"eslint-define-config": "^2.1.0",
"eslint-vitest-rule-tester": "^0.6.1",
"esno": "^4.7.0",
"fast-glob": "^3.3.2",
"lint-staged": "^15.2.10",
"eslint-vitest-rule-tester": "^1.1.0",
"esno": "^4.8.0",
"fast-glob": "^3.3.3",
"lint-staged": "^15.4.3",
"lodash.merge": "4.6.2",
"pnpm": "^9.11.0",
"pnpm": "^10.4.0",
"rimraf": "^6.0.1",
"semver": "^7.6.3",
"semver": "^7.7.1",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.3.0",
"typescript": "^5.6.2",
"unbuild": "^2.0.0",
"vite": "^5.4.8",
"vitest": "^2.1.1"
"tsup": "^8.3.6",
"typescript": "^5.7.3",
"unbuild": "^3.3.1",
"vite": "^6.1.0",
"vitest": "^3.0.5"
},
"resolutions": {
"eslint-plugin-command": "workspace:*"
Loading