Skip to content

Commit

Permalink
chore(deps): update dependency @sxzz/eslint-config to v3 (#52)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <[email protected]>
  • Loading branch information
renovate[bot] and sxzz committed Jun 8, 2023
1 parent c2641e0 commit a4c297a
Show file tree
Hide file tree
Showing 17 changed files with 146 additions and 254 deletions.
9 changes: 0 additions & 9 deletions .eslintrc.js

This file was deleted.

3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"editor.formatOnSave": true
"editor.formatOnSave": true,
"eslint.experimental.useFlatConfig": true
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ declare const RemoveWrapperFunction: (
### Custom Transformers

```ts
import type { CallExpression } from '@babel/types'
import type { Transformer } from 'unplugin-ast'
import { type CallExpression } from '@babel/types'
import { type Transformer } from 'unplugin-ast'

export const RemoveWrapperFunction = (
functionNames: string[]
Expand Down
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { sxzz } from '@sxzz/eslint-config'

export default sxzz()
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "unplugin-ast",
"version": "0.7.0",
"packageManager": "[email protected]",
"type": "module",
"description": "Manipulate the AST to transform your code.",
"type": "module",
"keywords": [
"unplugin",
"rollup",
Expand Down Expand Up @@ -72,7 +72,7 @@
"access": "public"
},
"scripts": {
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.json,.md",
"lint": "eslint .",
"lint:fix": "pnpm run lint -- --fix",
"build": "tsup && tsx scripts/postbuild.ts",
"test": "vitest",
Expand All @@ -89,7 +89,7 @@
},
"devDependencies": {
"@babel/types": "^7.22.5",
"@sxzz/eslint-config": "^2.4.6",
"@sxzz/eslint-config": "^3.0.0",
"@types/babel__generator": "^7.6.4",
"@types/node": "^18.16.16",
"bumpp": "^9.1.1",
Expand Down

0 comments on commit a4c297a

Please sign in to comment.